[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Minimal Qemu build for Plan9
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] Minimal Qemu build for Plan9 |
Date: |
Wed, 2 Oct 2013 12:10:36 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Sep 30, 2013 at 04:00:05AM -0400, Ashish Kaila wrote:
> Additionally if someone could point me to a to-do list of things to look out
> for while porting Qemu on a new platform (new OS/hardware), I would be
> extremely grateful.
Has glib been ported to Plan 9? You need it since much of QEMU uses
this library.
I guess the code you'll need to port are timers, thread pools, signal
handling, thread-local storage and pthread usage, and maybe some
mmap/mprotect calls.
QEMU uses a coroutines implementation which is done using
makecontext()/sigsetjmp()/siglongjmp() on Linux. Other OSes have their
own coroutine implementations (see coroutine-*.c).
This port is a lot of work. If you want to upstream the patches,
consider if you're willing to test and maintain Plan 9 support in the
long term. Since QEMU is actively developed just getting a port merged
isn't enough, you need to stay involved and continue maintaining it
otherwise the port would bitrot/need to be dropped.
Stefan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] Minimal Qemu build for Plan9,
Stefan Hajnoczi <=