From: Peter Krempa Date: Tue, 8 Dec 2020 15:28:40 +0000 (+0100) Subject: qemuDomainCheckpointLoad: Remove stale comment X-Git-Tag: v7.0.0-rc1~229 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61802ce3f0fc7f42cbc1cef6b71e01e79b8d2a93;p=thirdparty%2Flibvirt.git qemuDomainCheckpointLoad: Remove stale comment 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 Reviewed-by: Ján Tomko --- diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 0e5d7423dc..58c376fbe5 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -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;