diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-03-03 17:24:04 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-05-09 00:13:38 +0200 |
commit | a411c84b561baa94b28165c52f21c33517ee8f59 (patch) | |
tree | 153323bf6b50b891fc9b54b858d069047a2d3377 /memory.c | |
parent | ad2804d9e47df2dab642a253502b5ceef233f450 (diff) |
exec: extract address_space_translate_iommu, fix page_mask corner case
This will be used to process IOMMUs in a MemoryRegionCache. This
includes a small bugfix, in that the returned page_mask is now
correctly -1 if the IOMMU memory region maps the entire address
space directly. Previously, address_space_get_iotlb_entry would
return ~TARGET_PAGE_MASK.
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'memory.c')
0 files changed, 0 insertions, 0 deletions