mirror of https://gitee.com/openkylin/libvirt.git
qemu: Fix job type in qemuDomainGetBlockIoTune
The function just queries status so there's no need for a MODIFY type job.
This commit is contained in:
parent
c5ee5cfb18
commit
fb2ed975c3
|
@ -17038,7 +17038,7 @@ qemuDomainGetBlockIoTune(virDomainPtr dom,
|
|||
if (!(caps = virQEMUDriverGetCapabilities(driver, false)))
|
||||
goto cleanup;
|
||||
|
||||
if (qemuDomainObjBeginJob(driver, vm, QEMU_JOB_MODIFY) < 0)
|
||||
if (qemuDomainObjBeginJob(driver, vm, QEMU_JOB_QUERY) < 0)
|
||||
goto cleanup;
|
||||
|
||||
if (virDomainLiveConfigHelperMethod(caps, driver->xmlopt, vm, &flags,
|
||||
|
|
Loading…
Reference in New Issue