qemu/include
Jean-Philippe Brucker 1b3bf13890 hw/i386/pc: Move IOMMU singleton into PCMachineState
We're about to support a third vIOMMU for x86, virtio-iommu which
doesn't inherit X86IOMMUState. Move the IOMMU singleton into
PCMachineState, so it can be shared between all three vIOMMUs.

The x86_iommu_get_default() helper is still needed by KVM and IOAPIC to
fetch the default IRQ-remapping IOMMU. Since virtio-iommu doesn't
support IRQ remapping, this interface doesn't need to change for the
moment. We could later replace X86IOMMUState with an "IRQ remapping
IOMMU" interface if necessary.

Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Message-Id: <20211026182024.2642038-4-jean-philippe@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2021-11-01 18:49:10 -04:00
..
authz
block
chardev
crypto
disas disas/nios2: Simplify endianess conversion 2021-10-22 18:07:30 +02:00
exec accel/tcg: Move cpu_atomic decls to exec/cpu_ldst.h 2021-10-13 08:14:54 -07:00
fpu Fifth RISC-V PR for QEMU 6.2 2021-10-29 10:59:09 -07:00
hw hw/i386/pc: Move IOMMU singleton into PCMachineState 2021-11-01 18:49:10 -04:00
io
libdecnumber
migration
monitor qdev: Base object creation on QDict rather than QemuOpts 2021-10-15 16:11:22 +02:00
net vhost-net: control virtqueue support 2021-10-20 04:44:05 -04:00
qapi qapi: Extend -compat to set policy for unstable interfaces 2021-10-29 21:28:01 +02:00
qemu host-utils: add 128-bit quotient support to divu128/divs128 2021-10-27 17:10:00 -07:00
qom
scsi
semihosting
standard-headers
sysemu device_tree: Add qemu_fdt_add_path 2021-10-20 18:17:54 -07:00
tcg tcg: Move helper_*_mmu decls to tcg/tcg-ldst.h 2021-10-13 08:46:42 -07:00
ui
user
elf.h
glib-compat.h
qemu-common.h
qemu-io.h
trace-tcg.h