[libvirt] [PATCH 2/3] VMX: Serial devices don't have to be attached

Doug Goldstein cardoe at cardoe.com
Sat Oct 12 20:21:13 UTC 2013


Serial devices don't necessarily have to be attached to an output to be
shown to the guest.
---
 src/vmx/vmx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/vmx/vmx.c b/src/vmx/vmx.c
index 9906a9c..36bc338 100644
--- a/src/vmx/vmx.c
+++ b/src/vmx/vmx.c
@@ -2717,7 +2717,7 @@ virVMXParseSerial(virVMXContext *ctx, virConfPtr conf, int port,
     }
 
     /* vmx:fileName -> def:data.file.path */
-    if (virVMXGetConfigString(conf, fileName_name, &fileName, false) < 0) {
+    if (virVMXGetConfigString(conf, fileName_name, &fileName, true) < 0) {
         goto cleanup;
     }
 
-- 
1.8.1.5




More information about the libvir-list mailing list