qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Michael Eager <eager@eagerm.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Internal documentation
Date: Wed, 12 Dec 2012 14:39:32 +0100	[thread overview]
Message-ID: <20121212133932.GB16270@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <50C77E2D.4030901@eagerm.com>

On Tue, Dec 11, 2012 at 10:40:45AM -0800, Michael Eager wrote:
> Is there any internal documentation for QEMU?

Nothing up-to-date and complete.

> I'm adding support for a new processor.  I'm currently
> adding semihosting support and a new command line option.
> I find that I'm reading a lot of uncommented code and
> trying to reverse engineer QEMU's design by reading how
> various targets are implemented.

Try the #qemu IRC channel on irc.oftc.net for specific questions.

One nice thing is that, despite the lack of documentation or comments,
the nature of QEMU is that there are often multiple examples (target
CPUs, emulated devices, etc) similar to what you're trying to implement.
Read them to see which core functions you'll need and how to call them.

Stefan

  reply	other threads:[~2012-12-12 13:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-11 18:40 [Qemu-devel] Internal documentation Michael Eager
2012-12-12 13:39 ` Stefan Hajnoczi [this message]
2012-12-12 14:34   ` Michael Eager
2012-12-12 15:00     ` Peter Maydell
2012-12-12 14:25 ` Andreas Färber
2012-12-12 14:57   ` Michael Eager

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=20121212133932.GB16270@stefanha-thinkpad.redhat.com \
    --to=stefanha@gmail.com \
    --cc=eager@eagerm.com \
    --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).