diff options
author | Xingang Wang | 2021-07-08 14:55:13 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2021-07-16 17:10:45 +0200 |
commit | 6d7a85483a069b99ad4b018509643437b8f9a4f7 (patch) | |
tree | 9329e1726c8bee341decb2438f05bad819d64183 /include/hw | |
parent | hw/pxb: Add a bypass iommu property (diff) | |
download | qemu-6d7a85483a069b99ad4b018509643437b8f9a4f7.tar.gz qemu-6d7a85483a069b99ad4b018509643437b8f9a4f7.tar.xz qemu-6d7a85483a069b99ad4b018509643437b8f9a4f7.zip |
hw/arm/virt: Add default_bus_bypass_iommu machine option
Add a default_bus_bypass_iommu machine option to enable/disable
bypass_iommu for default root bus. The option is disabled by
default and can be enabled with:
$QEMU -machine virt,iommu=smmuv3,default_bus_bypass_iommu=true
Signed-off-by: Xingang Wang <wangxingang5@huawei.com>
Message-Id: <1625748919-52456-4-git-send-email-wangxingang5@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/arm/virt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/arm/virt.h b/include/hw/arm/virt.h index 921416f918..9661c46699 100644 --- a/include/hw/arm/virt.h +++ b/include/hw/arm/virt.h @@ -147,6 +147,7 @@ struct VirtMachineState { OnOffAuto acpi; VirtGICType gic_version; VirtIOMMUType iommu; + bool default_bus_bypass_iommu; VirtMSIControllerType msi_controller; uint16_t virtio_iommu_bdf; struct arm_boot_info bootinfo; |