[PATCH 4/5] VMX: Some serial ports are not actually connected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sometimes a serial port might not be actually wired to a device when the
user does not have the device connected at power on and we should not
consider this a fatal error.
---
 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 7eaff65..d4ce885 100644
--- a/src/vmx/vmx.c
+++ b/src/vmx/vmx.c
@@ -2704,7 +2704,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 */
-- 
1.8.1.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]