[libvirt] [PATCH 0/5] Support forward mode='hostdev' and interface pools
Shradha Shah
sshah at solarflare.com
Fri Jun 8 16:06:01 UTC 2012
Hello all,
I have actually based these patches of v0.9.12.
Top of tree libvirt had some errors due to which I was not able to use virsh and test these patches so I based them off the last release.
But these patches should work equivalently well with top of tree.
Many Thanks,
Regards,
Shradha Shah
On 06/08/2012 04:26 PM, Shradha Shah wrote:
> This patch series supports the forward mode='hostdev'. The functionality
> of this mode is the same as interface type='hostdev' but with the added
> benefit of using interface pools.
>
> The patch series also contains a patch to support use of interface names
> and PCI device addresses interchangeably in a network xml, and return
> the appropriate one in actualDevice when networkAllocateActualDevice is
> called. This functionality is not supported for any other forward mode
> except hostdev.
>
> Currently this patch series also does not support USB hostdev
> passthrough.
>
> At the top level managed attribute can be specified for a pf dev or an
> interface dev (with identical results as when it's specified for a
> hostdev
>
> Shradha Shah (5):
> Code to return interface name or pci_addr of the VF in actualDevice
> Moved the code to create implicit interface pool from PF to a new
> function
> Introduce forward mode='hostdev' for network XML in order to use the
> functionality of interface pools.
> Forward Mode Hostdev Implementation
> Supporting managed option for forward devs when using HOSTDEV mode
>
> docs/schemas/network.rng | 1 +
> src/conf/network_conf.c | 119 +++++++++++++++-
> src/conf/network_conf.h | 13 ++-
> src/libvirt_private.syms | 3 +
> src/network/bridge_driver.c | 325 +++++++++++++++++++++++++++++++++++--------
> src/qemu/qemu_command.c | 14 ++
> src/util/pci.c | 7 +-
> src/util/pci.h | 3 +
> src/util/virnetdev.c | 134 +++++++++++++++++-
> src/util/virnetdev.h | 19 +++
> 10 files changed, 568 insertions(+), 70 deletions(-)
>
More information about the libvir-list
mailing list