Bug 784767 - Feature Request: change the mapping between a virtual bridge interface and the host bridge while the host is up
Summary: Feature Request: change the mapping between a virtual bridge interface and t...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 805071 853130
TreeView+ depends on / blocked
 
Reported: 2012-01-26 07:41 UTC by Ralf Spenneberg
Modified: 2012-08-30 14:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 805071 (view as bug list)
Environment:
Last Closed: 2012-03-31 00:20:04 UTC
Embargoed:


Attachments (Terms of Use)
Patch to implement functionality (2.62 KB, application/octet-stream)
2012-01-26 07:41 UTC, Ralf Spenneberg
no flags Details
Example xml definition of guest (1.24 KB, text/plain)
2012-01-26 07:42 UTC, Ralf Spenneberg
no flags Details
File to use with virsh update-device (237 bytes, application/octet-stream)
2012-01-26 07:43 UTC, Ralf Spenneberg
no flags Details
fixed patch (3.29 KB, patch)
2012-01-26 12:39 UTC, Hendrik Schwartke
no flags Details | Diff

Description Ralf Spenneberg 2012-01-26 07:41:24 UTC
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>

Comment 1 Ralf Spenneberg 2012-01-26 07:42:18 UTC
Created attachment 557595 [details]
Example xml definition of guest

Comment 2 Ralf Spenneberg 2012-01-26 07:43:39 UTC
Created attachment 557596 [details]
File to use with virsh update-device

Comment 3 Hendrik Schwartke 2012-01-26 12:39:49 UTC
Created attachment 557667 [details]
fixed patch

Comment 4 Eric Blake 2012-03-20 14:36:11 UTC
Can you please post your patches to the upstream libvirt list, libvir-list, so as to get faster response?

Comment 5 Laine Stump 2012-03-20 16:36:58 UTC
I think this is the patch:

http://www.redhat.com/archives/libvir-list/2012-January/msg01132.html

Comment 6 Laine Stump 2012-03-31 00:20:04 UTC
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


Note You need to log in before you can comment on or make changes to this bug.