[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] linux-user: Allow -R values up to 0xffff0000 fo
From: |
Emilio G. Cota |
Subject: |
Re: [Qemu-devel] [PATCH] linux-user: Allow -R values up to 0xffff0000 for 32-bit ARM guests |
Date: |
Tue, 3 Oct 2017 14:23:40 -0400 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Tue, Oct 03, 2017 at 17:21:43 +0100, Peter Maydell wrote:
> The 32-bit ARM validate_guest_space() check tests whether the
> specified -R value leaves enough space for us to put the
> commpage in at 0xffff0f00. However it was incorrectly doing
> a <= check for the check against (guest_base + guest_size),
> which meant that it wasn't permitting the guest space to
> butt right up against the commpage.
>
> Fix the comparison, so that -R values all the way up to 0xffff0000
> work correctly.
>
> Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Emilio G. Cota <address@hidden>
E.