mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
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.
This commit is contained in:
parent
4fa172215d
commit
dba04e7fa0
@ -2696,7 +2696,7 @@ virVMXParseSerial(virVMXContext *ctx, virConfPtr conf, int port,
|
|||||||
|
|
||||||
/* vmx:fileName -> def:data.file.path */
|
/* vmx:fileName -> def:data.file.path */
|
||||||
if (virVMXGetConfigString(conf, fileName_name, &fileName, false) < 0) {
|
if (virVMXGetConfigString(conf, fileName_name, &fileName, false) < 0) {
|
||||||
goto cleanup;
|
goto ignore;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* vmx:network.endPoint -> def:data.tcp.listen */
|
/* vmx:network.endPoint -> def:data.tcp.listen */
|
||||||
|
Loading…
Reference in New Issue
Block a user