]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: driver: Move checkpoint-related code to qemu_checkpoint.c
authorPeter Krempa <pkrempa@redhat.com>
Thu, 19 Sep 2019 14:49:21 +0000 (16:49 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 30 Sep 2019 11:12:56 +0000 (13:12 +0200)
commitbc3088ca392b1d720944c5b178035346e3834b3d
tree02815024e23076eac4773a34f2b434fbaf506749
parentc8ef580f7b0cd92e8386e37a82e65500dd71426e
qemu: driver: Move checkpoint-related code to qemu_checkpoint.c

Move all extensive functions to a new file so that we don't just pile
everything in the common files. This obviously isn't possible with
straight code movement as we still need stubs in qemu_driver.c

Additionally some functions e.g. for looking up a checkpoint by name
were so short that moving the impl didn't make sense.

Note that in the move the new file also doesn't use
virQEMUMomentReparent but rather an stripped down copy. As I plan to
split out snapshot code into a separate file the unification doesn't
make sense any more.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
src/qemu/Makefile.inc.am
src/qemu/qemu_checkpoint.c [new file with mode: 0644]
src/qemu/qemu_checkpoint.h [new file with mode: 0644]
src/qemu/qemu_driver.c