[libvirt] [PATCH 0/2] qemu: support pci passthrough of devices in non-0 domain

Laine Stump laine at laine.org
Mon May 5 10:40:47 UTC 2014


Ping now that 1.2.4 is out. I've made the simple change that Dan
suggested to 2/2; are there any comments on the rest of it?

On 04/30/2014 04:03 PM, Laine Stump wrote:
> qemu added support for this somewhere between 0.12 and 0.13, but
> libvirt never caught wind of it, so we've been ignoring the domain for
> all this time (not too surprising, since a non-0 PCI domain is very
> rare).
>
> Laine Stump (2):
>   qemu: add host-pci-multidomain capability
>   qemu: specify domain in host-side PCI addresses when needed/supported
>
>  src/qemu/qemu_capabilities.c                       |  4 +++
>  src/qemu/qemu_capabilities.h                       |  1 +
>  src/qemu/qemu_command.c                            | 13 ++++++-
>  tests/qemucapabilitiesdata/caps_1.2.2-1.caps       |  1 +
>  tests/qemucapabilitiesdata/caps_1.3.1-1.caps       |  1 +
>  tests/qemucapabilitiesdata/caps_1.4.2-1.caps       |  1 +
>  tests/qemucapabilitiesdata/caps_1.5.3-1.caps       |  1 +
>  tests/qemucapabilitiesdata/caps_1.6.0-1.caps       |  1 +
>  tests/qemucapabilitiesdata/caps_1.6.50-1.caps      |  1 +
>  tests/qemuhelptest.c                               |  3 +-
>  .../qemuxml2argv-hostdev-vfio-multidomain.args     |  6 ++++
>  .../qemuxml2argv-hostdev-vfio-multidomain.xml      | 33 +++++++++++++++++
>  .../qemuxml2argv-net-hostdev-multidomain.args      |  7 ++++
>  .../qemuxml2argv-net-hostdev-multidomain.xml       | 40 +++++++++++++++++++++
>  .../qemuxml2argv-net-hostdev-vfio-multidomain.args |  7 ++++
>  .../qemuxml2argv-net-hostdev-vfio-multidomain.xml  | 41 ++++++++++++++++++++++
>  .../qemuxml2argv-net-hostdev-vfio.xml              |  2 +-
>  .../qemuxml2argvdata/qemuxml2argv-net-hostdev.xml  |  2 +-
>  tests/qemuxml2argvtest.c                           | 18 ++++++++++
>  19 files changed, 179 insertions(+), 4 deletions(-)
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hostdev-vfio-multidomain.args
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hostdev-vfio-multidomain.xml
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-net-hostdev-multidomain.args
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-net-hostdev-multidomain.xml
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-net-hostdev-vfio-multidomain.args
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-net-hostdev-vfio-multidomain.xml
>




More information about the libvir-list mailing list