[libvirt] Canging bridge names on live migration

Philipp Hahn hahn at univention.de
Wed Jun 10 18:06:11 UTC 2015


Hello,

On 03.06.2015 13:18, seitan wrote:
> 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.

libvirt supports some hook scripts, which can be used to re-write the
XML file during live migration. Have a look at
<http://docs.univention.de/uvmm-4.0.html#uvmmext:kvm:migrate>, which
should work similarly for your scenario.

Philipp




More information about the libvir-list mailing list