[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Minimal Qemu build for Plan9
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] Minimal Qemu build for Plan9 |
Date: |
Mon, 30 Sep 2013 15:37:52 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
Hi,
Am 30.09.2013 10:00, schrieb Ashish Kaila:
> I am a graduate student from CMU and currently working on trying to port
> Qemu on plan9. I was trying to initially build a minimal Qemu with the
> least set of devices that are necessary to support a machine, however I
> noticed that I couldn’t understand some of the dependencies such as
> requiring an audio driver during initialization. I am currently trying
> to port just the i386-softmmu version of Qemu to plan9 to keep things
> simple, here I noticed that pc_init1() initializes a host of devices on
> the PCI bus like the NIC card etc and was wondering if there is a bare
> minimum set of devices that Qemu needs to be built with ?
Configuring with --target-list=i386-softmmu should already give you a
minimal set of devices, omitting those that are irrelevant for x86 but
including a few optional ones.
However I don't understand why devices emulated in C code would pose a
porting problem for you? If the code is not using portable POSIX
constructs or suitable #ifdefs then please post patches to fix that
rather than working around those type of things.
> 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.
osdep.c and related files come to mind, configure obviously.
Regards,
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg