qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [6412] linux-user: add qemu_realloc() implementation to


From: Paul Brook
Subject: Re: [Qemu-devel] [6412] linux-user: add qemu_realloc() implementation to unbreak the build ( Gerd Hoffman)
Date: Fri, 23 Jan 2009 18:52:34 +0000
User-agent: KMail/1.9.9

> > Is it really the correct fix?  The original error comes from the fact
> > we compile qemu_iovec_* in cutils.c.  Do we really need these
> > iovec functions for user-mode?
>
> I think the better question is, why isn't linux-user sharing
> qemu_malloc/qemu_realloc implementations with the system emulation?

Because userspace emulation has special requirements, and need to keep track 
of address space usage. You can't just blindly use malloc/mmap.

Paul




reply via email to

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