[PATCH 0/7] Forward mode='hostdev' patch series

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

 



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.

At the top level managed attribute can be specified with identical results 
as when it's specified for a hostdev.

Currently forward mode='hostdev' does not support USB devices.

Shradha Shah (7):
  conf: move DevicePCIAddress functions to separate file
  network: helper function to create interface pool from PF
  RNG updates, new xml parser/formatter code to support forward
    mode=hostdev
  Code to return interface name or pci_addr of the VF in actualDevice
  Add function virDevicePCIAddressEqual
  Forward Mode Hostdev network driver Implementation
  Forward Mode 'Hostdev' qemu driver implementation

 docs/formatnetwork.html.in             |   62 +++++
 docs/schemas/basictypes.rng            |   46 ++++
 docs/schemas/domaincommon.rng          |   44 ----
 docs/schemas/network.rng               |   53 ++++-
 include/libvirt/virterror.h            |    1 +
 src/Makefile.am                        |    7 +-
 src/conf/device_conf.c                 |  147 +++++++++++
 src/conf/device_conf.h                 |   68 ++++++
 src/conf/domain_conf.c                 |  114 +--------
 src/conf/domain_conf.h                 |   25 +--
 src/conf/network_conf.c                |  130 +++++++++--
 src/conf/network_conf.h                |   26 ++-
 src/libvirt_private.syms               |   11 +-
 src/network/bridge_driver.c            |  414 +++++++++++++++++++++++---------
 src/qemu/qemu_command.c                |   52 +++-
 src/qemu/qemu_hotplug.c                |    7 +-
 src/qemu/qemu_monitor.c                |   14 +-
 src/qemu/qemu_monitor.h                |   17 +-
 src/qemu/qemu_monitor_json.c           |   14 +-
 src/qemu/qemu_monitor_json.h           |   14 +-
 src/qemu/qemu_monitor_text.c           |   16 +-
 src/qemu/qemu_monitor_text.h           |   14 +-
 src/util/virnetdev.c                   |   25 +-
 src/util/virnetdev.h                   |    4 +-
 src/util/virterror.c                   |    3 +-
 src/xen/xend_internal.c                |    3 +-
 tests/networkxml2xmlin/hostdev-pf.xml  |    7 +
 tests/networkxml2xmlin/hostdev.xml     |   10 +
 tests/networkxml2xmlout/hostdev-pf.xml |    7 +
 tests/networkxml2xmlout/hostdev.xml    |   10 +
 tests/networkxml2xmltest.c             |    2 +
 31 files changed, 976 insertions(+), 391 deletions(-)
 create mode 100644 src/conf/device_conf.c
 create mode 100644 src/conf/device_conf.h
 create mode 100644 tests/networkxml2xmlin/hostdev-pf.xml
 create mode 100644 tests/networkxml2xmlin/hostdev.xml
 create mode 100644 tests/networkxml2xmlout/hostdev-pf.xml
 create mode 100644 tests/networkxml2xmlout/hostdev.xml

-- 
1.7.4.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]