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-Tag: v1.0.3~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9933a6b2fa8182d8ec676f7f7f00af7063a387f9;p=thirdparty%2Flibvirt.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);