From: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
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: Tue, 6 Oct 2015 19:04:31 +0200 [thread overview]
Message-ID: <5613FF1F.70703@mail.uni-paderborn.de> (raw)
In-Reply-To: <1721DBB7-96BE-4066-BFE1-A0C6E91935BD@yahoo.com>
Hi Aaron,
On 10/06/2015 04:17 PM, 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.
>
> If anyone here can point me to some useful document or some guides, to make me get started in understanding
> the source code?
it depends of the area of your interest. Or do you seek a general
overview regarding QEMU?
When I started with QEMU, I picked some part that looked interesting,
looked at an interesting sounding function, added a breakpoint in gdb,
and slowly stepped through it in order to understand it. Looking at the
backtrace helps to see where this function was called to find more
interesting function for the breakpoint stepping.
Sadly there is not a lot of documentation today. For some areas you have
good chance, if you look into the docs/ directory. But mostly the
sourcecode is the documentation. We talked about that issue on the QEMU
Summit 2015 and would like to change it. However it depends on how
people are willing to write high level documentation.
If you are interested in the tcg-frontend part of QEMU, I can give you
some hints.
>
> What knowledge are required to understand the source code?
>
> BTW, i know this project is not that simple to understand, but I would like to try, even I need to know a lot
> of other knowledge before that, but at least let me get started.
>
> Thanks
>
> -Aaron
>
>
Cheers,
Bastian
next prev parent reply other threads:[~2015-10-06 21:44 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 [this message]
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
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=5613FF1F.70703@mail.uni-paderborn.de \
--to=kbastian@mail.uni-paderborn.de \
--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).