]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: Remove managed save flag from VM when starting with --force-boot
authorPeter Krempa <pkrempa@redhat.com>
Mon, 4 Mar 2013 11:10:28 +0000 (12:10 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 4 Mar 2013 11:10:28 +0000 (12:10 +0100)
At the start of the guest after the image is unlinked the state wasn't
touched up to match the state on disk.

src/qemu/qemu_driver.c

index d40b5d5467dd9efb58005955b2d1587cd9005bd5..7048ce9c28b32d97404d6bfa654a67728f22978c 100644 (file)
@@ -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);