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

[libvirt] [PATCH 0/8] Hostdev-hybrid patches



This patch series adds the support for interface-type="hostdev-hybrid" and
forward mode="hostdev-hybrid".

The hostdev-hybrid mode makes migration possible along with PCI-passthrough.
I had posted a RFC on the hostdev-hybrid methodology earlier on the libvirt
mailing list.

The RFC can be found here:
https://www.redhat.com/archives/libvir-list/2012-February/msg00309.html


Shradha Shah (8):
  RNG updates, new xml parser/formatter code for interface
    type=hostdev-hybrid
  RNG updates, new xml parser/formatter code for forward
    mode=hostdev-hybrid
  Hostdev-hybrid mode requires a direct linkdev and direct mode.
  ActualParent is used to store the information about the NETDEV.
  network: support hostdev-hybrid in network driver
  qemu: support netdevs from hostdev-hybrid networks
  Using the Ephemeral Flag to prepare for Migration Support.
  Migration support for hostdev-hybrid.

 docs/formatdomain.html.in                          |   29 ++++
 docs/formatnetwork.html.in                         |   46 ++++++
 docs/schemas/domaincommon.rng                      |   50 ++++++
 docs/schemas/network.rng                           |    1 +
 include/libvirt/libvirt.h.in                       |    1 +
 src/conf/domain_conf.c                             |  167 +++++++++++++++++---
 src/conf/domain_conf.h                             |    8 +
 src/conf/network_conf.c                            |    9 +-
 src/conf/network_conf.h                            |    1 +
 src/libvirt_private.syms                           |    1 +
 src/network/bridge_driver.c                        |  123 +++++++++++++--
 src/qemu/qemu_command.c                            |   61 +++++++
 src/qemu/qemu_domain.c                             |    6 +-
 src/qemu/qemu_domain.h                             |    3 +-
 src/qemu/qemu_driver.c                             |    6 +-
 src/qemu/qemu_hostdev.c                            |  158 +++++++++++++------
 src/qemu/qemu_hotplug.c                            |   26 +++-
 src/qemu/qemu_migration.c                          |  106 ++++++++++++-
 src/qemu/qemu_process.c                            |    3 +-
 src/uml/uml_conf.c                                 |    5 +
 src/util/pci.c                                     |    2 +-
 src/util/pci.h                                     |    2 +
 src/util/virnetdev.c                               |   40 +++++
 src/util/virnetdev.h                               |    6 +
 src/xenxs/xen_sxpr.c                               |    1 +
 tests/networkxml2xmlin/hostdev-hybrid-pf.xml       |    7 +
 tests/networkxml2xmlin/hostdev-hybrid.xml          |   10 ++
 tests/networkxml2xmlout/hostdev-hybrid-pf.xml      |    7 +
 tests/networkxml2xmlout/hostdev-hybrid.xml         |   10 ++
 tests/networkxml2xmltest.c                         |    2 +
 .../qemuxml2argv-net-hostdevhybrid.args            |    8 +
 .../qemuxml2argv-net-hostdevhybrid.xml             |   35 ++++
 tests/qemuxml2argvtest.c                           |    2 +
 .../qemuxml2xmlout-net-hostdevhybrid.xml           |   40 +++++
 tests/qemuxml2xmltest.c                            |    1 +
 35 files changed, 884 insertions(+), 99 deletions(-)
 create mode 100644 tests/networkxml2xmlin/hostdev-hybrid-pf.xml
 create mode 100644 tests/networkxml2xmlin/hostdev-hybrid.xml
 create mode 100644 tests/networkxml2xmlout/hostdev-hybrid-pf.xml
 create mode 100644 tests/networkxml2xmlout/hostdev-hybrid.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-net-hostdevhybrid.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-net-hostdevhybrid.xml
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-net-hostdevhybrid.xml

-- 
1.7.4.4


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