As we now call qemuBlockJobStartupFinalize in qemuProcessRefreshLegacyBlockjobs
for precreated block job of every disk anyway.
Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy(a)virtuozzo.com>
---
src/qemu/qemu_process.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index 549c17a..49ee8fe 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@ -8140,7 +8140,7 @@ qemuProcessRefreshLegacyBlockjob(void *payload,
virDomainObjPtr vm = opaque;
qemuMonitorBlockJobInfoPtr info = payload;
virDomainDiskDefPtr disk;
- qemuBlockJobDataPtr job;
+ g_autoptr(qemuBlockJobData) job = NULL;
qemuBlockJobType jobtype = info->type;
qemuDomainObjPrivatePtr priv = vm->privateData;
@@ -8187,7 +8187,6 @@ qemuProcessRefreshLegacyBlockjob(void *payload,
qemuBlockJobStarted(job, vm);
cleanup:
- qemuBlockJobStartupFinalize(vm, job);
return 0;
}
--
1.8.3.1