]> xenbits.xensource.com Git - libvirt.git/commitdiff
VMX: Serial devices don't have to be attached
authorDoug Goldstein <cardoe@cardoe.com>
Mon, 30 Sep 2013 21:24:02 +0000 (16:24 -0500)
committerDoug Goldstein <cardoe@cardoe.com>
Mon, 14 Oct 2013 14:18:52 +0000 (09:18 -0500)
Serial devices don't necessarily have to be attached to an output to be
shown to the guest.

src/vmx/vmx.c

index 9906a9cc50b9d174313946b4b5048e51b3df0eff..36bc33886b61cc8f1a0f6f95bb6624b8d9c5ba9b 100644 (file)
@@ -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;
     }