]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemuDomainCheckpointLoad: Remove stale comment
authorPeter Krempa <pkrempa@redhat.com>
Tue, 8 Dec 2020 15:28:40 +0000 (16:28 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 9 Dec 2020 14:02:07 +0000 (15:02 +0100)
We decided to not do metadata-less checkpoints and checking whether the
metadata is consistent is done once the data is actually needed. Remove
the comment.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_driver.c

index 0e5d7423dc22107af32278b7bc0ca3f2ed893049..58c376fbe5e435c32280ecf4bb9e7dbcf9f896c2 100644 (file)
@@ -533,13 +533,6 @@ qemuDomainCheckpointLoad(virDomainObjPtr vm,
                        vm->def->name);
     virDomainCheckpointSetCurrent(vm->checkpoints, current);
 
-    /* Note that it is not practical to automatically construct
-     * checkpoints based solely on qcow2 bitmaps, since qemu does not
-     * track parent relations which we find important in our metadata.
-     * Perhaps we could double-check that our just-loaded checkpoint
-     * metadata is consistent with existing qcow2 bitmaps, but a user
-     * that changes things behind our backs deserves what happens. */
-
     virResetLastError();
 
     ret = 0;