]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: checkpoint: Split virDomainCheckpointRedefinePrep into two functions
authorPeter Krempa <pkrempa@redhat.com>
Wed, 4 Nov 2020 09:10:56 +0000 (10:10 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 9 Nov 2020 11:25:50 +0000 (12:25 +0100)
commit93873c9bcc4cba575616d977eb00acf73a6f5403
tree11103028cf87343522e1e4bd26333bfd295651cc
parentf37d306f6e02a469bd79293f8431df9ca3034744
conf: checkpoint: Split virDomainCheckpointRedefinePrep into two functions

First one prepares and validates the definition, the second one actually
either updates an existing checkpoint or assigns definition for the new
one.

This will allow driver code to add extra validation between those
steps.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/checkpoint_conf.c
src/conf/checkpoint_conf.h
src/libvirt_private.syms
src/qemu/qemu_checkpoint.c
src/test/test_driver.c