[libvirt] [PATCH v10 15/19] backup: qemu: Add directory for tracking checkpoints

Daniel P. Berrangé berrange at redhat.com
Wed Jul 24 16:22:47 UTC 2019


On Wed, Jul 24, 2019 at 12:56:05AM -0500, Eric Blake wrote:
> 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 at redhat.com>
> ---
>  src/qemu/qemu_conf.h   |  2 ++
>  src/qemu/qemu_conf.c   |  5 +++++
>  src/qemu/qemu_driver.c | 12 ++++++++++++
>  3 files changed, 19 insertions(+)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list