]> git.ipfire.org Git - thirdparty/libvirt.git/commit
backup: qemu: Add directory for tracking checkpoints
authorEric Blake <eblake@redhat.com>
Mon, 22 Jul 2019 14:44:12 +0000 (09:44 -0500)
committerEric Blake <eblake@redhat.com>
Mon, 29 Jul 2019 12:54:03 +0000 (07:54 -0500)
commit63b9c21dd21bef2e8a759f54ec7a92d046e3f7cf
treec5bf88c49845a3536189f75d8c95bfccb624dd4c
parent3f93884a4d047a012b968c62b94ea07dadd1759b
backup: qemu: Add directory for tracking checkpoints

This is similar to the existing directory for snapshots; the domain
will save one xml file per checkpoint, for reloading on the next
libvirtd restart.  Fortunately, since checkpoints mandate RNG
validation, we are assured that the checkpoint name will be usable as
a file name (no abuse of '../escape' as a checkpoint name, for
example).

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_conf.c
src/qemu/qemu_conf.h
src/qemu/qemu_driver.c