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 /util/qemu-thread-posix.c | |
| parent | ad2804d9e47df2dab642a253502b5ceef233f450 (diff) | |
| download | focaccia-qemu-a411c84b561baa94b28165c52f21c33517ee8f59.tar.gz focaccia-qemu-a411c84b561baa94b28165c52f21c33517ee8f59.zip | |
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 'util/qemu-thread-posix.c')
0 files changed, 0 insertions, 0 deletions