Re: [PATCH] migrate: v2: use VIR_DOMAIN_XML_MIGRATABLE when available

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19.10.2012 16:58, Ján Tomko wrote:
> In v2 migration protocol, XML is obtained by calling domainGetXMLDesc.
> This includes the default USB controller in XML, which breaks migration
> to older libvirt (before 0.9.2).
> 
> Commit 409b5f549530e7b3a33f4505f2cad2e26896107c
>     qemu: Emit compatible XML when migrating a domain
> only fixed this for v3 migration.
> 
> This patch uses the new VIR_DOMAIN_XML_MIGRATABLE flag (detected by
> VIR_DRV_FEATURE_XML_MIGRATABLE) to obtain XML without the default controller,
> enabling backward v2 migration.
> ---
>  src/libvirt.c          |   13 ++++++++++---
>  src/libvirt_internal.h |    5 +++++
>  src/qemu/qemu_driver.c |    1 +
>  3 files changed, 16 insertions(+), 3 deletions(-)
> 

ACKed & pushed.

Michal

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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]