[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 0/5] Support forward mode='hostdev' and interface pools



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(-)

-- 
1.7.4.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]