Created attachment 557594 [details] Patch to implement functionality Description of problem: We would like to move the vNIC of a guest from one bridge to another while the guest is running. It is easy to do with brctl but libvirt does not provide an interface. We have written a patch to support this feature using externally configured bridges. It currently does not support virtual networks generated by libvirt. We are working on that. Attached: - patch based on 6fba577e505611e6c25c68e322942eab7754de7e. - example xml definition of guest - example xml file for virsh updatedevice <guest>
Created attachment 557595 [details] Example xml definition of guest
Created attachment 557596 [details] File to use with virsh update-device
Created attachment 557667 [details] fixed patch
Can you please post your patches to the upstream libvirt list, libvir-list, so as to get faster response?
I think this is the patch: http://www.redhat.com/archives/libvir-list/2012-January/msg01132.html
The following patch (a modified version of the patch originally posted by Hendrik) has been pushed upstream, and will be in release 0.9.11 of libvirt: commit 2711ac87160d7ac7d550c57f4339e6c6749942fa Author: Hendrik Schwartke <hendrik> Date: Wed Mar 28 15:11:09 2012 -0400 qemu: support live change of the bridge used by a guest network device