[Top][All Lists]

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

Re: [Qemu-devel] [PATCH v4 04/12] fix qemu_alloc/qemu_free for linux-use

From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH v4 04/12] fix qemu_alloc/qemu_free for linux-user subsystem
Date: Sat, 20 Jun 2009 13:33:07 +0200

Am 20.06.2009 um 11:54 schrieb Jean-Christophe DUBOIS:

[...] if you happen to have a clue on why the linux-user and bsd- user (and not darwin-user) targets need to have a different implementation I would be
interested to know.

Fabrice himself decided that user emulators should not share code. This rule was not only applied to syscalls themselves (discussion of reuse between bsd and darwin) but also to general stuff like ELF loading and apparently malloc/free.

This has made starting a haiku-user implementation quite a pain - you can't just start with implementing the actual platform-specific syscalls but have to get there first, understanding and copying parts of another *-user emulator, with it being unclear which parts to copy and which not to...

The difference between linux-, bsd- and darwin-user is that darwin- user is not maintained and thus not updated with new functions such as qemu_alloc. I'd be surprised if you got it to compile and work for testing your changes. (darwin-user might come in handy again though when x86-only Snow Leopard arrives later this year.)


reply via email to

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