Re: [Qemu-devel] [PATCH] linux-user: Tell guest about big host page sizes

2014-06-05 Thread Richard Henderson
On 06/05/2014 02:43 AM, Alexander Graf wrote: > We tell the guest its page size via AUX vectors. The guest process then uses > this page size as information on which boundaries it can mmap() things. > > However, if the host has a bigger page size granularity than the guest, it can > not fulfill th

[Qemu-devel] [PATCH] linux-user: Tell guest about big host page sizes

2014-06-05 Thread Alexander Graf
We tell the guest its page size via AUX vectors. The guest process then uses this page size as information on which boundaries it can mmap() things. However, if the host has a bigger page size granularity than the guest, it can not fulfill these mmap() requests - which falls apart when MAP_FIXED i