On 10/09/12 14:13, Jiri Denemark wrote:
Using VIR_DOMAIN_XML_MIGRATABLE flag, one can request domain's
XML
configuration that is suitable for migration or save/restore. Such XML
may contain extra run-time stuff internal to libvirt and some default
configuration may be removed for better compatibility of the XML with
older libvirt releases.
This flag may serve as an easy way to get the XML that can be passed
(after desired modifications) to APIs that accept custom XMLs, such as
virDomainMigrate{,ToURI}2 or virDomainSaveFlags.
---
include/libvirt/libvirt.h.in | 1 +
src/conf/domain_conf.c | 3 ++-
src/qemu/qemu_domain.c | 21 ++++++++-------------
src/qemu/qemu_domain.h | 11 ++++++-----
src/qemu/qemu_driver.c | 16 +++++++++-------
src/qemu/qemu_migration.c | 11 +++++------
src/qemu/qemu_process.c | 14 +++++++-------
tools/virsh-domain.c | 4 ++++
tools/virsh.pod | 7 +++++--
9 files changed, 47 insertions(+), 41 deletions(-)
ACK.
Peter