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:
Peter Krempa 2015-01-22 09:56:38 +01:00
parent c5ee5cfb18
commit fb2ed975c3
1 changed files with 1 additions and 1 deletions

View File

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