[libvirt] [PATCHv2 0/3] qemu: add support for intel-iommu

Ján Tomko jtomko at redhat.com
Mon Jul 11 12:25:44 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1235581
v2:
 * removed '-iommu' suffix from the model name
 * mentioned the device in formatdomain.html
 * added the device to ABI stability check
   and the hot/coldplug parser (where both operations
   are rejected)
 * error out on non-q35 machines
 * added a comment about broken qemu to the commit message
   of patch 2/3
 * no change wrt the device order on the command line -
   qemu seems to take care of this

Ján Tomko (3):
  Introduce <iommu> device
  Add QEMU_CAPS_DEVICE_INTEL_IOMMU
  qemu: format intel-iommu on the command line

 docs/formatdomain.html.in                          | 26 +++++++
 docs/schemas/domaincommon.rng                      | 11 +++
 src/conf/domain_conf.c                             | 90 +++++++++++++++++++++-
 src/conf/domain_conf.h                             | 16 ++++
 src/libvirt_private.syms                           |  2 +
 src/qemu/qemu_capabilities.c                       |  2 +
 src/qemu/qemu_capabilities.h                       |  1 +
 src/qemu/qemu_command.c                            | 35 +++++++++
 src/qemu/qemu_driver.c                             |  6 ++
 src/qemu/qemu_hotplug.c                            |  1 +
 tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml   |  1 +
 tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml   |  1 +
 tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml   |  1 +
 .../qemuxml2argvdata/qemuxml2argv-intel-iommu.args | 22 ++++++
 .../qemuxml2argvdata/qemuxml2argv-intel-iommu.xml  | 37 +++++++++
 tests/qemuxml2argvtest.c                           |  2 +
 .../qemuxml2xmlout-intel-iommu.xml                 | 37 +++++++++
 tests/qemuxml2xmltest.c                            |  4 +
 18 files changed, 294 insertions(+), 1 deletion(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-intel-iommu.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-intel-iommu.xml
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-intel-iommu.xml

-- 
2.7.3




More information about the libvir-list mailing list