Re: [PATCH] qemu migration: assign addresses in xml passed as parameter

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

 




On 15.03.2016 21:24, Jiri Denemark wrote:
> On Tue, Feb 09, 2016 at 11:36:32 +0300, Nikolay Shirokovskiy wrote:
>> Usecase:
>>
>> 1. define domain with xml A where addresses are not set
>> 2. migrate with '--xml A'
> 
> This use case is incorrect. To make sure the ABI compatibility checks
> pass, you should take the XML back from libvirt. In addition to
> assigning PCI addresses, libvirt may add some implicit devices (such as
> USB controllers, keyboards, balloon device, ...) or even reorder some
> elements in the XML.
> 
> That said, you should follow the steps below:
> 
> - define a domain using A.xml
> - start the domain
> - fetch the updated XML (virsh dumpxml --migratable >B.xml)
> - change whatever you need in B.xml
> - start migration with --xml A.xml
> 
> Jirka
> 
> --
> libvir-list mailing list
> libvir-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libvir-list
> 

Ok, I see. Thank you for clarification.

Nikolay.

--
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]