Another prerequisite for vSMMUv3 support.
Well, technically I could go ahead and implement that without
refactoring Intel IOMMU support first, but I'd rather not add more
validation code to qemu_command.
Andrea Bolognani (8):
tests: Simplify Intel IOMMU testing
tests: Use DO_TEST_CAPS_*() for Intel IOMMU
tests: Add negative test for Intel IOMMU
conf: Allow NULL for virDomainDeviceInfoCallback
conf: Drop DOMAIN_DEVICE_ITERATE_GRAPHICS
conf: Add IOMMU support to virDomainDeviceInfoIterate()
qemu: Introduce qemuDomainDeviceDefValidateIOMMU()
qemu: Tweak Intel IOMMU command line generation
src/bhyve/bhyve_device.c | 4 ++
src/conf/domain_addr.c | 9 +++
src/conf/domain_conf.c | 59 ++++++++++++----
src/libxl/libxl_driver.c | 3 +
src/qemu/qemu_command.c | 69 +++----------------
src/qemu/qemu_domain.c | 66 +++++++++++++++++-
src/qemu/qemu_domain_address.c | 36 +++++++++-
src/qemu/qemu_hotplug.c | 3 +
...tel-iommu-caching-mode.x86_64-latest.args} | 15 ++--
.../intel-iommu-caching-mode.xml | 23 +------
...tel-iommu-device-iotlb.x86_64-latest.args} | 22 +++---
.../intel-iommu-device-iotlb.xml | 1 +
...rgs => intel-iommu-eim.x86_64-latest.args} | 15 ++--
tests/qemuxml2argvdata/intel-iommu-eim.xml | 1 +
... => intel-iommu-machine.x86_64-2.6.0.args} | 9 ++-
.../qemuxml2argvdata/intel-iommu-machine.xml | 3 +-
...hine.xml => intel-iommu-wrong-machine.xml} | 8 +--
...ne.args => intel-iommu.x86_64-latest.args} | 18 +++--
tests/qemuxml2argvdata/intel-iommu.xml | 1 +
tests/qemuxml2argvtest.c | 34 ++-------
...ntel-iommu-caching-mode.x86_64-latest.xml} | 0
...ntel-iommu-device-iotlb.x86_64-latest.xml} | 0
....xml => intel-iommu-eim.x86_64-latest.xml} | 0
...l => intel-iommu-machine.x86_64-2.6.0.xml} | 0
...ommu.xml => intel-iommu.x86_64-latest.xml} | 0
tests/qemuxml2xmltest.c | 15 ++--
26 files changed, 242 insertions(+), 172 deletions(-)
rename tests/qemuxml2argvdata/{intel-iommu-device-iotlb.args =>
intel-iommu-caching-mode.x86_64-latest.args} (61%)
rename tests/qemuxml2argvdata/{intel-iommu-caching-mode.args =>
intel-iommu-device-iotlb.x86_64-latest.args} (53%)
rename tests/qemuxml2argvdata/{intel-iommu-eim.args =>
intel-iommu-eim.x86_64-latest.args} (62%)
rename tests/qemuxml2argvdata/{intel-iommu.args =>
intel-iommu-machine.x86_64-2.6.0.args} (73%)
copy tests/qemuxml2argvdata/{intel-iommu-machine.xml => intel-iommu-wrong-machine.xml}
(71%)
rename tests/qemuxml2argvdata/{intel-iommu-machine.args =>
intel-iommu.x86_64-latest.args} (55%)
rename tests/qemuxml2xmloutdata/{intel-iommu-caching-mode.xml =>
intel-iommu-caching-mode.x86_64-latest.xml} (100%)
rename tests/qemuxml2xmloutdata/{intel-iommu-device-iotlb.xml =>
intel-iommu-device-iotlb.x86_64-latest.xml} (100%)
rename tests/qemuxml2xmloutdata/{intel-iommu-eim.xml =>
intel-iommu-eim.x86_64-latest.xml} (100%)
rename tests/qemuxml2xmloutdata/{intel-iommu-machine.xml =>
intel-iommu-machine.x86_64-2.6.0.xml} (100%)
rename tests/qemuxml2xmloutdata/{intel-iommu.xml => intel-iommu.x86_64-latest.xml}
(100%)
--
2.21.0