]> git.proxmox.com Git - mirror_qemu.git/commit
hw/i386: Add a default_bus_bypass_iommu pc machine option
authorXingang Wang <wangxingang5@huawei.com>
Thu, 8 Jul 2021 12:55:14 +0000 (12:55 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 16 Jul 2021 15:10:45 +0000 (11:10 -0400)
commitc9e96b04fc192fb38622694947dae091bbbdf28f
treed5a34d4ab5a8df88b4eb9f2cfca6429721b395a7
parent6d7a85483a069b99ad4b018509643437b8f9a4f7
hw/i386: Add a default_bus_bypass_iommu pc machine option

Add a default_bus_bypass_iommu pc machine option to enable/disable
bypass_iommu for default root bus. The option is disabled by default
and can be enabled with:
$QEMU -machine q35,default_bus_bypass_iommu=true

Signed-off-by: Xingang Wang <wangxingang5@huawei.com>
Message-Id: <1625748919-52456-5-git-send-email-wangxingang5@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc.c
hw/pci-host/q35.c
include/hw/i386/pc.h