On 08/14/2012 03:15 AM, Laine Stump wrote:
The purpose of these patches is to define a data type that can
properly describe an interface's vlan configuration (including
multiple vlans for trunking), provide XML parser and formatter to
translate to and from the new data type, add the new <vlan> element to
both domain <interface> and to <network> in appropriate places, and to
provide the new vlan data to the hypervisor driver.
Thanks to everyone for their reviews and comments. I've pushed these 4
patches, so now Kyle can create a (hopefully much simplified) patch that
looks for virDomainNetGetActualVlan(netdef) and setups up the vlan
appropriately for guests connecting to an Open vSwtich network.
I also have a (very small, because almost everything was already there)
patch to support setting the vlan tag on SR-IOV PCI passthrough devices.
I still have to get a successful build on my SR-IOV-capable hardware so
I can test it, though :-)