[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] bsd-user: fix build
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] [PATCH] bsd-user: fix build |
Date: |
Sun, 24 Jun 2012 20:45:38 +0000 |
On Sun, Jun 24, 2012 at 8:34 PM, Peter Maydell <address@hidden> wrote:
> On 24 June 2012 21:18, Blue Swirl <address@hidden> wrote:
>> Link in oslib objects also for BSD user, but avoid using the version of
>> qemu_vmalloc() defined in oslib-posix.c.
>
> Do you happen to know why bsd-user has its own implementation of
> qemu_vmalloc() but linux-user doesn't? Discrepancies between the
> two make me mildly uneasy...
2e9a5713f0567fffaa3518f495b8d16a2b74f84a removed PAGE_RESERVED bits
from linux-user but not from bsd-user. page_init() in exec.c builds a
map of reserved pages which are then checked by qemu_vmalloc().
Actually I'm not sure how linux-user works and why is/was this ever
needed.
>
> -- PMM