diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 149963f056..f4b8dab697 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -17094,7 +17094,8 @@ qemuDomainBlockCommit(virDomainPtr dom, goto endjob; } - disk->blockjob = true; + if (ret == 0) + disk->blockjob = true; if (mirror) { if (ret == 0) {