From: Peter Krempa Date: Mon, 4 Mar 2013 11:10:28 +0000 (+0100) Subject: qemu: Remove managed save flag from VM when starting with --force-boot X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=9933a6b2fa8182d8ec676f7f7f00af7063a387f9;p=libvirt.git qemu: Remove managed save flag from VM when starting with --force-boot At the start of the guest after the image is unlinked the state wasn't touched up to match the state on disk. --- diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index d40b5d5467..7048ce9c28 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -5428,6 +5428,7 @@ qemuDomainObjStart(virConnectPtr conn, managed_save); goto cleanup; } + vm->hasManagedSave = false; } else { ret = qemuDomainObjRestore(conn, driver, vm, managed_save, start_paused, bypass_cache);