VMX: Serial devices don't have to be attached

Serial devices don't necessarily have to be attached to an output to be
shown to the guest.
This commit is contained in:
Doug Goldstein 2013-09-30 16:24:02 -05:00
parent 604065a339
commit 541a761bc9

View 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;
}