From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TinG6-0001Pm-4o for qemu-devel@nongnu.org; Wed, 12 Dec 2012 09:26:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TinFw-0005ft-DO for qemu-devel@nongnu.org; Wed, 12 Dec 2012 09:26:01 -0500 Received: from cantor2.suse.de ([195.135.220.15]:38436 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TinFw-0005fi-3A for qemu-devel@nongnu.org; Wed, 12 Dec 2012 09:25:52 -0500 Message-ID: <50C893E5.8010806@suse.de> Date: Wed, 12 Dec 2012 15:25:41 +0100 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <50C77E2D.4030901@eagerm.com> In-Reply-To: <50C77E2D.4030901@eagerm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Internal documentation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Eager Cc: qemu-devel , Stefan Hajnoczi Hi, Am 11.12.2012 19:40, schrieb Michael Eager: > Is there any internal documentation for QEMU? >=20 > 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. >=20 > Is there a better way? Look at the latest added target-openrisc in qemu.git and/or at my target-rl78 at GitHub.com/afaerber/qemu-rl78/. That will also give you some ideas how to split your new target into reviewable patches. Also look at the mailing list, you may find old/bad examples in our code base but patch review usually points out the right ways to do things nowadays. When in doubt, ask. :) Regards, Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3=BC= rnberg