[libvirt] Canging bridge names on live migration

Michal Privoznik mprivozn at redhat.com
Mon Jun 8 08:53:26 UTC 2015


On 03.06.2015 13:18, seitan wrote:
> Hello,
> i wonder, if there's a possibility to change a name of a shared interface in
> virtual machine config, while doing migration.
> The problem is:
> hypervisor1 (source) uses shared interface name  "br0".
> hypervisor2 (target) uses shared interface name "br500".
> Live migration fails, because target hypervisor does not have "br0" interface.
> Thank you

Yes it is possible. The migration APIs have an argument @xmlin where you
can specify new XML definition for the domain on the destination. It
serves exactly this purpose where the environment there is slightly
different to the source.

Michal




More information about the libvir-list mailing list