]> git.ipfire.org Git - thirdparty/libvirt.git/commit
backup: qemu: Implement metadata tracking for checkpoint APIs
authorEric Blake <eblake@redhat.com>
Wed, 10 Apr 2019 15:42:11 +0000 (10:42 -0500)
committerEric Blake <eblake@redhat.com>
Mon, 29 Jul 2019 13:09:13 +0000 (08:09 -0500)
commit5f4e079650361e1e762d40404d3c978dfe732beb
treec5e40857fbe0f761312b8228258d492dbfa33794
parent63b9c21dd21bef2e8a759f54ec7a92d046e3f7cf
backup: qemu: Implement metadata tracking for checkpoint APIs

A lot of this work heavily copies from the existing snapshot APIs.
What's more, this patch is (intentionally) very similar to the
checkpoint code just added in the test driver, to the point that qemu
checkpoints are not fully usable in this patch, but it at least
bisects and builds cleanly.  The separation between patches is done
because the grunt work of saving and restoring XML and tracking
relations between checkpoints is common to the test driver, while the
later patch adding integration with QMP is specific to qemu.

Also note that the interlocking to prevent checkpoints and snapshots
from existing at the same time will be a separate patch, to make it
easier to revert that restriction when we finally round out the design
for supporting interaction between the two concepts.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_driver.c