[libvirt] [PATCH 0/5] Support ephemeral passthrough hostdevs

Shradha Shah sshah at solarflare.com
Tue Sep 18 15:00:39 UTC 2012


The ephemeral flag helps support migration with PCI-passthrough.

An ephemeral hostdev is automatically unplugged before migration
and replugged (if one is available on the destination) after 
migration.

Shradha Shah (5):
  Added ephemeral flag for hostdev in domain conf.
  Adding ephemeral flag for hostdev in network conf.
  Ephemeral flag mofication within the network driver.
  Ephemeral flag modification within the qemu driver.
  Migration support for ephemeral hostdevs.

 docs/schemas/domaincommon.rng                      |   16 +++
 docs/schemas/network.rng                           |    8 ++
 src/conf/domain_conf.c                             |   23 ++++-
 src/conf/domain_conf.h                             |    1 +
 src/conf/network_conf.c                            |   11 ++
 src/conf/network_conf.h                            |    1 +
 src/network/bridge_driver.c                        |    1 +
 src/qemu/qemu_command.c                            |   49 +++++-----
 src/qemu/qemu_migration.c                          |   98 +++++++++++++++++++-
 tests/networkxml2xmlin/hostdev-pf.xml              |    2 +-
 tests/networkxml2xmlin/hostdev.xml                 |    2 +-
 tests/networkxml2xmlout/hostdev-pf.xml             |    2 +-
 tests/networkxml2xmlout/hostdev.xml                |    2 +-
 .../qemuxml2argv-hostdev-pci-address.xml           |    2 +-
 .../qemuxml2argv-hostdev-usb-address.xml           |    2 +-
 .../qemuxml2argvdata/qemuxml2argv-net-hostdev.xml  |    2 +-
 tests/qemuxml2argvdata/qemuxml2argv-pci-rom.xml    |    4 +-
 17 files changed, 188 insertions(+), 38 deletions(-)

-- 
1.7.4.4




More information about the libvir-list mailing list