mirror of https://gitee.com/openkylin/libvirt.git
qemu: don't mask real error with oom report
* src/qemu/qemu_command.c (qemuBuildCommandLine): Don't report oom after qemuBuildControllerDevStr, which reported its own errors.
This commit is contained in:
parent
abaa65605f
commit
56152be578
|
@ -3102,7 +3102,7 @@ qemuBuildCommandLine(virConnectPtr conn,
|
|||
|
||||
char *devstr;
|
||||
if (!(devstr = qemuBuildControllerDevStr(def->controllers[i], qemuCmdFlags)))
|
||||
goto no_memory;
|
||||
goto error;
|
||||
|
||||
virCommandAddArg(cmd, devstr);
|
||||
VIR_FREE(devstr);
|
||||
|
|
Loading…
Reference in New Issue