diff options
author | Jean-Philippe Brucker <jean-philippe@linaro.org> | 2021-10-26 19:20:20 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-11-01 18:49:10 -0400 |
commit | 1f85d74ac542d57559babbe0525633837e9fd52f (patch) | |
tree | f88acfa66703dd64c243f5a5db8cc9cb64dc7710 /hw/acpi/Kconfig | |
parent | e1c1915befbd2a991b20812eef6ad650b5637a36 (diff) | |
download | qemu-1f85d74ac542d57559babbe0525633837e9fd52f.zip qemu-1f85d74ac542d57559babbe0525633837e9fd52f.tar.gz qemu-1f85d74ac542d57559babbe0525633837e9fd52f.tar.bz2 |
hw/acpi: Add VIOT table
Add a function that generates a Virtual I/O Translation table (VIOT),
describing the topology of paravirtual IOMMUs. The table is created if a
virtio-iommu device is present. It contains a virtio-iommu node and PCI
Range nodes for endpoints managed by the IOMMU. By default, a single
node describes all PCI devices. When passing the
"default_bus_bypass_iommu" machine option and "bypass_iommu" PXB option,
only buses that do not bypass the IOMMU are described by PCI Range
nodes.
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Message-Id: <20211026182024.2642038-2-jean-philippe@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/acpi/Kconfig')
-rw-r--r-- | hw/acpi/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/acpi/Kconfig b/hw/acpi/Kconfig index 3b5e118..622b0b5 100644 --- a/hw/acpi/Kconfig +++ b/hw/acpi/Kconfig @@ -51,6 +51,10 @@ config ACPI_VMGENID default y depends on PC +config ACPI_VIOT + bool + depends on ACPI + config ACPI_HW_REDUCED bool select ACPI |