提交 99e4c1d6 编写于 作者: P Peter Krempa

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.
上级 dd03d773
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册