From: Doug Goldstein Date: Mon, 12 Aug 2013 22:29:40 +0000 (-0500) Subject: VMX: Some serial ports are not actually connected X-Git-Tag: CVE-2013-4297~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dba04e7fa070a79415ea16141ad2e2ebd4f23033;p=thirdparty%2Flibvirt.git VMX: Some serial ports are not actually connected 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. --- diff --git a/src/vmx/vmx.c b/src/vmx/vmx.c index 11e8a626e7..06a22a72f5 100644 --- a/src/vmx/vmx.c +++ b/src/vmx/vmx.c @@ -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 */