summaryrefslogtreecommitdiffstats
path: root/hw/pci-bridge
diff options
context:
space:
mode:
authorPeter Xu2017-05-17 10:57:42 +0200
committerMichael S. Tsirkin2017-05-17 23:35:15 +0200
commita764040cc831cfe5b8bf1c80e8341b9bf2de3ce8 (patch)
tree86ad673ceb08f68504eaf0eee8b001c160dd200f /hw/pci-bridge
parentpci: deassert intx when pci device unrealize (diff)
downloadqemu-a764040cc831cfe5b8bf1c80e8341b9bf2de3ce8.tar.gz
qemu-a764040cc831cfe5b8bf1c80e8341b9bf2de3ce8.tar.xz
qemu-a764040cc831cfe5b8bf1c80e8341b9bf2de3ce8.zip
exec: abstract address_space_do_translate()
This function is an abstraction helper for address_space_translate() and address_space_get_iotlb_entry(). It does the lookup of address into memory region section, then does proper IOMMU translation if necessary. Refactor the two existing functions to use it. This fixes vhost when IOMMU is disabled by guest. Tested-by: Maxime Coquelin <maxime.coquelin@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci-bridge')
0 files changed, 0 insertions, 0 deletions