Re: [Qemu-devel] [REBASED 1/2] exec: add page_mask for flatview_do_translate
On 10/05/2017 07:13 PM, Maxime Coquelin wrote: static MemoryRegionSection flatview_do_translate(FlatView *fv, hwaddr addr, hwaddr *xlat, - hwad
[Qemu-devel] [REBASED 1/2] exec: add page_mask for flatview_do_translate
From: Peter Xu The function is originally used for flatview_space_translate() and what we care about most is (xlat, plen) range. However for iotlb requests, we don't really care about "plen", but the size of the page that "xlat" is located on. While, plen cannot really contain this information.