qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] linux-user: Fix shmat emulation by honoring hos


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH] linux-user: Fix shmat emulation by honoring host SHMLBA
Date: Tue, 10 Jul 2018 06:48:42 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

On 07/10/2018 02:47 AM, Laurent Vivier wrote:
>> -                addr &= TARGET_PAGE_MASK;
>> +                addr &= align - 1;
> 
> and here TARGET_PAGE_MASK is also (align - 1)...
> 
> So I think it should be "addr &= -align".

Whoops, yes indeed.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]