[libvirt] [PATCH 0/3] virDomainXMLFlags cleanups

Eric Blake posted 3 patches 5 years, 2 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20190213232251.22647-1-eblake@redhat.com
include/libvirt/libvirt-domain-snapshot.h |  4 ++++
include/libvirt/libvirt-domain.h          |  5 +++++
src/libvirt-domain-snapshot.c             |  9 ++++-----
src/libvirt-domain.c                      | 22 +++++++++++++---------
src/qemu/qemu_driver.c                    |  6 +++---
src/remote/remote_protocol.x              |  6 +++---
src/test/test_driver.c                    |  2 +-
src/vz/vz_driver.c                        |  2 +-
8 files changed, 34 insertions(+), 22 deletions(-)
[libvirt] [PATCH 0/3] virDomainXMLFlags cleanups
Posted by Eric Blake 5 years, 2 months ago
Nir has asked that my upcoming checkpoint APIs have a way to do
bulk operations: grab the XML for ALL checkpoints in one call,
and in turn redefine checkpoints on a new host using the dumped
XML from an old host in one call. But since checkpoints borrow
heavily from the APIs used for snapshots, it makes sense to do
the same thing for checkpoints.  And in the process of implementing
that code, I discovered some oddities in the use of flags when
dumping domain-related XML, which this series aims to fix.

Eric Blake (3):
  domain: Document VIR_DOMAIN_XML_MIGRATABLE
  domain: Define explicit flags for saved image xml
  snapshot: Define explicit flags for snapshot xml

 include/libvirt/libvirt-domain-snapshot.h |  4 ++++
 include/libvirt/libvirt-domain.h          |  5 +++++
 src/libvirt-domain-snapshot.c             |  9 ++++-----
 src/libvirt-domain.c                      | 22 +++++++++++++---------
 src/qemu/qemu_driver.c                    |  6 +++---
 src/remote/remote_protocol.x              |  6 +++---
 src/test/test_driver.c                    |  2 +-
 src/vz/vz_driver.c                        |  2 +-
 8 files changed, 34 insertions(+), 22 deletions(-)

-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list