[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] linux-user: fix segmentation fault passing with
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH] linux-user: fix segmentation fault passing with g2h(x) != x |
Date: |
Tue, 26 Jun 2012 05:47:26 +0200 |
On 26.06.2012, at 04:24, 陳韋任 (Wei-Ren Chen) wrote:
> On Mon, Jun 25, 2012 at 07:32:39PM +0200, Alexander Graf wrote:
>> When forwarding a segmentation fault into the guest process, we were passing
>> the host's address directly into the guest process's signal descriptor.
>>
>> That obviously confused the guest process, since it didn't know what to make
>> of the (usually 32-bit truncated) address. Passing in g2h(address) makes the
>> guest process a lot happier.
>
> Passing g2h or h2g? From the context and code, I think h2g should make more
> sense.
Yeah, it's s/g2h/h2g/g in all of the patch description and subject :). The
patch is correct though.
Alex