mirror of https://gitee.com/openkylin/libvirt.git
qemu: Jump to correct label in qemuDomainPinIOThread
If virDomainObjGetDefs used in qemuDomainPinIOThread would fail the code
would jump to the 'cleanup' label after acquiring the job, thus the VM
would be locked forever.
Introduced in commit cac6d639
.
This commit is contained in:
parent
dd03d77309
commit
99e4c1d6fd
|
@ -5790,7 +5790,7 @@ qemuDomainPinIOThread(virDomainPtr dom,
|
|||
goto cleanup;
|
||||
|
||||
if (virDomainObjGetDefs(vm, flags, &def, &persistentDef) < 0)
|
||||
goto cleanup;
|
||||
goto endjob;
|
||||
|
||||
if (!(pcpumap = virBitmapNewData(cpumap, maplen)))
|
||||
goto endjob;
|
||||
|
|
Loading…
Reference in New Issue