diff options
| author | Xingang Wang <wangxingang5@huawei.com> | 2021-07-08 12:55:11 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2021-07-16 11:10:45 -0400 |
| commit | 2d64b7bbb2a2e945635633486ef9a060cb2c89bc (patch) | |
| tree | 0acc3b05c6b68d81ae923f1715aab953dd401a1c /hw/pci-bridge/pci_expander_bridge.c | |
| parent | 7395b3e3e70031b1efff7941cbef6a1ceb6f2ffd (diff) | |
| download | focaccia-qemu-2d64b7bbb2a2e945635633486ef9a060cb2c89bc.tar.gz focaccia-qemu-2d64b7bbb2a2e945635633486ef9a060cb2c89bc.zip | |
hw/pci/pci_host: Allow PCI host to bypass iommu
Add a new bypass_iommu property for PCI host and use it to check whether devices attached to the PCI root bus will bypass iommu. In pci_device_iommu_address_space(), check the property and avoid getting iommu address space for devices bypass iommu. Signed-off-by: Xingang Wang <wangxingang5@huawei.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Message-Id: <1625748919-52456-2-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 'hw/pci-bridge/pci_expander_bridge.c')
0 files changed, 0 insertions, 0 deletions