diff options
author | Peter Xu <peterx@redhat.com> | 2017-10-10 11:42:46 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-10-12 12:10:38 +0200 |
commit | 076a93d7972c9c1e3839d2f65edc32568a2cce93 (patch) | |
tree | e6f7cca4e04f2f0a5b682de07ed7af65d8d97c96 /memory.c | |
parent | d5e5fafd11be4458443c43f19c1ebdd24d99a751 (diff) |
exec: simplify address_space_get_iotlb_entry
This patch let address_space_get_iotlb_entry() to use the newly
introduced page_mask parameter in flatview_do_translate(). Then we
will be sure the IOTLB can be aligned to page mask, also we should
nicely support huge pages now when introducing a764040.
Fixes: a764040 ("exec: abstract address_space_do_translate()")
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20171010094247.10173-3-maxime.coquelin@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'memory.c')
0 files changed, 0 insertions, 0 deletions