]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virDomainCheckpointRedefineCommit: Don't check ABI of definition in checkpoint
authorPeter Krempa <pkrempa@redhat.com>
Wed, 2 Dec 2020 12:35:29 +0000 (13:35 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 4 Dec 2020 15:15:03 +0000 (16:15 +0100)
commit9fd8ba3b2d681e5d0c58fc68f99224dbf0a5f810
tree448e322df0ea4247262f02033e7154a6f434eb4d
parent9a58f1a53c8d94cf867fd3a76515d222750d5d77
virDomainCheckpointRedefineCommit: Don't check ABI of definition in checkpoint

Checking the definition ABI when redefining checkpoints doesn't make
much sense for the following reasons:

* the domain definition in the checkpoint is mostly unused (a relic
  adopted from the snapshot code)

* can be very easily overridden by deleting the checkpoint metadata
  before redefinition

Rather than complicating the logic when we'll be taking into account
that the domain definition may be missing, let's just remove the check.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/conf/checkpoint_conf.c
src/conf/checkpoint_conf.h
src/qemu/qemu_checkpoint.c
src/test/test_driver.c