On 09/20/2013 08:15 AM, Laine Stump wrote:

> 
> This will leave one problem  - what to do if someone migrates a guest
> with the new non-0 unit# to a host that's still running old libvirt that
> ignores unit#. I don't see how to get around this problem without having
> knowledge of the source and destination libvirt versions when formatting
> the XML to send across, but that is something we've avoided like the
> plague. So what do we do for new->old migration?

We use the same hacks we do for other migration issues - if the
_MIGRATABLE flag is on during dumpxml, we output the old style (stick it
in the unit slot, since that's what older libvirt expected).

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to