From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjjI2-000268-Jk for qemu-devel@nongnu.org; Wed, 07 Oct 2015 03:37:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjjHz-0007fY-Tn for qemu-devel@nongnu.org; Wed, 07 Oct 2015 03:37:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjjHz-0007fH-Oe for qemu-devel@nongnu.org; Wed, 07 Oct 2015 03:37:27 -0400 References: <1721DBB7-96BE-4066-BFE1-A0C6E91935BD@yahoo.com> From: Thomas Huth Message-ID: <5614CBB4.8000709@redhat.com> Date: Wed, 7 Oct 2015 09:37:24 +0200 MIME-Version: 1.0 In-Reply-To: <1721DBB7-96BE-4066-BFE1-A0C6E91935BD@yahoo.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] How to get started with the source code of Qemu? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aaron Elkins , qemu-devel@nongnu.org On 06/10/15 16:17, Aaron Elkins wrote: > Hi all, >=20 > I am new to Qemu, and I=E2=80=99m 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 l= arge 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