Re: [Qemu-devel] [PULL 23/33] exec: fix address_space_get_iotlb_entry page mask

2017-06-02 Thread Peter Xu
On Thu, Jun 01, 2017 at 02:41:41PM +0200, Paolo Bonzini wrote: > From: Peter Xu > > The IOTLB that it returned didn't guarantee that page_mask is indeed a > so-called page mask. That won't affect current usage since now only > vhost is using it (vhost API allows arbitary IOTLB range). However we

[Qemu-devel] [PULL 23/33] exec: fix address_space_get_iotlb_entry page mask

2017-06-01 Thread Paolo Bonzini
From: Peter Xu The IOTLB that it returned didn't guarantee that page_mask is indeed a so-called page mask. That won't affect current usage since now only vhost is using it (vhost API allows arbitary IOTLB range). However we have IOTLB scemantic and we should best follow it. This patch fixes this