]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
VMX: Some serial ports are not actually connected
authorDoug Goldstein <cardoe@cardoe.com>
Mon, 12 Aug 2013 22:29:40 +0000 (17:29 -0500)
committerDoug Goldstein <cardoe@cardoe.com>
Mon, 2 Sep 2013 22:41:30 +0000 (17:41 -0500)
Sometimes a serial port might not be actually wired to a device when the
user does not have the VM powered on and we should not consider this a
fatal error.

src/vmx/vmx.c

index 11e8a626e752ecd83b02e42c4979a45ce8821182..06a22a72f559dc71b4e5c19d5712b072b3d72b91 100644 (file)
@@ -2696,7 +2696,7 @@ virVMXParseSerial(virVMXContext *ctx, virConfPtr conf, int port,
 
     /* vmx:fileName -> def:data.file.path */
     if (virVMXGetConfigString(conf, fileName_name, &fileName, false) < 0) {
-        goto cleanup;
+        goto ignore;
     }
 
     /* vmx:network.endPoint -> def:data.tcp.listen */