qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: Aaron Elkins <threcius@yahoo.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] How to get started with the source code of Qemu?
Date: Wed, 7 Oct 2015 09:37:24 +0200	[thread overview]
Message-ID: <5614CBB4.8000709@redhat.com> (raw)
In-Reply-To: <1721DBB7-96BE-4066-BFE1-A0C6E91935BD@yahoo.com>

On 06/10/15 16:17, Aaron Elkins wrote:
> Hi all,
> 
> I am new to Qemu, and I’m extremely interested in understanding how the source code of Qemu work. But after
> I downloaded the whole project, I just lost in it, the project is too large for me to get started.

A very rough survey:

- The main() function is in "vl.c"

- The target CPU emulation code is in the "target-xxx" directories

- The host backends for the CPU emulation is in the "tcg" directory
  (TCG means Tiny Code Generator)

- Other hardware emulation can be found in the "hw" directory

- Host networking code is in the "net" folder

- Guest firmware (BIOS) code can be found in the "pc-bios" folder

That's at least the folders I have been in touch with since I started
working on QEMU. I hope that helps at least a little bit.

 Thomas

      parent reply	other threads:[~2015-10-07  7:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-06 14:17 [Qemu-devel] How to get started with the source code of Qemu? Aaron Elkins
2015-10-06 16:41 ` Eric Blake
2015-10-06 17:04 ` Bastian Koppelmann
2015-10-07  3:55   ` Aaron Elkins
2015-10-06 20:08 ` Peter Crosthwaite
2015-10-07  3:56   ` Aaron Elkins
2015-10-07  7:37 ` Thomas Huth [this message]

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=5614CBB4.8000709@redhat.com \
    --to=thuth@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=threcius@yahoo.com \
    /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).