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:
Peter Krempa 2015-06-18 15:29:20 +02:00
parent dd03d77309
commit 99e4c1d6fd
1 changed files with 1 additions and 1 deletions

View File

@ -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;