qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: Ashish Kaila <ashishkaila9@gmail.com>, qemu-devel@nongnu.org
Cc: maneets@andrew.cmu.edu
Subject: Re: [Qemu-devel] Minimal Qemu build for Plan9
Date: Mon, 30 Sep 2013 15:37:52 +0200	[thread overview]
Message-ID: <52497EB0.7020906@suse.de> (raw)
In-Reply-To: <005f01cebdb3$131a9d30$394fd790$@gmail.com>

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

  reply	other threads:[~2013-09-30 13:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-30  8:00 [Qemu-devel] Minimal Qemu build for Plan9 Ashish Kaila
2013-09-30 13:37 ` Andreas Färber [this message]
2013-09-30 13:55 ` Peter Maydell
2013-10-02 10:10 ` Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52497EB0.7020906@suse.de \
    --to=afaerber@suse.de \
    --cc=ashishkaila9@gmail.com \
    --cc=maneets@andrew.cmu.edu \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).