]> xenbits.xensource.com Git - libvirt.git/commit
qemu: checkpoint: Split out checkpoint creation code
authorPeter Krempa <pkrempa@redhat.com>
Tue, 1 Oct 2019 13:04:33 +0000 (15:04 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 24 Oct 2019 17:35:34 +0000 (19:35 +0200)
commit0ebc74d3e1036fcc22ad5537444b7d552b3c83e9
tree1ce69d952d549b1f8928fb6dd212bb9422e89e89
parentfefb2d743af38d2199cf01bac59df8c8e44c6683
qemu: checkpoint: Split out checkpoint creation code

Separate out individual steps of creating a checkpoint from
qemuCheckpointCreateXML into separate functions. This makes the function
more readable and understandable and also some of the new functions will
be reusable when we will be creating a checkpoint along with a backup
in the upcoming patches.

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