]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: checkpoint: Don't clear current checkpoint when redefining an existing one
authorPeter Krempa <pkrempa@redhat.com>
Tue, 1 Oct 2019 05:22:14 +0000 (07:22 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 24 Oct 2019 17:35:34 +0000 (19:35 +0200)
commita8f92d2d7f09f53619f55efdac2b93c70f337f4e
treeea0cbbf3d1e404322745962b945d67c2ec8923bd
parent4d60e7fdd47802f8356497c2a6f55560872e2cdb
conf: checkpoint: Don't clear current checkpoint when redefining an existing one

There's no point in clearing the current checkpoint when we are just
changing the definition of the current checkpoint as by the virtue of the
'update_current' flag the same checkpoint would become current in
qemuCheckpointCreateXML.

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