From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5Ilv-0006HB-Ug for qemu-devel@nongnu.org; Sat, 25 Aug 2012 11:59:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T5Id6-0001zI-E2 for qemu-devel@nongnu.org; Sat, 25 Aug 2012 11:51:04 -0400 Received: from shell4.bayarea.net ([209.128.82.1]:49311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5Id6-0001yu-2P for qemu-devel@nongnu.org; Sat, 25 Aug 2012 11:50:32 -0400 Message-ID: <5038F445.9010800@eagerm.com> Date: Sat, 25 Aug 2012 08:50:29 -0700 From: Michael Eager MIME-Version: 1.0 References: <50382073.60503@eagerm.com> <20120825125742.GA72482@cs.nctu.edu.tw> <5038F055.7060300@eagerm.com> <20120825153827.GA53801@cs.nctu.edu.tw> In-Reply-To: <20120825153827.GA53801@cs.nctu.edu.tw> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] How to add new architecture? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?IumZs+mfi+S7uyAoV2VpLVJlbiBDaGVuKSI=?= Cc: qemu-devel@nongnu.org On 08/25/2012 08:38 AM, =E9=99=B3=E9=9F=8B=E4=BB=BB (Wei-Ren Chen) wrote:= >> I want to add a new guest architecture. >> >> Is there any description of what the configuration options mean? > > You mean the options list in `../${QEMU_SRC}/configure --help`? > Not sure why you need to care about that. In $QEMU_SRC/configure, architectures have these configuration options (and several more): target_nptl=3D"yes" target_phys_bits=3D32 target_libs_softmmu=3D"$fdt_libs" In the target-*/cpu.h, there are defines like: #define TARGET_LONG_BITS 32 #define TARGET_HAS_ICE 1 #define TARGET_PAGE_BITS 12 #define TARGET_PAGE_BITS 10 #define TARGET_PHYS_ADDR_SPACE_BITS 40 #define TARGET_VIRT_ADDR_SPACE_BITS 32 There are also required specification like CPUState or CPUArchState. Is there any description of these configuration options? > I suggest you take a look on openrisc patchset [1], it's a relative= > new added guest support. > > [1] https://lists.gnu.org/archive/html/qemu-devel/2012-07/msg02567.htm= l Thanks. --=20 Michael Eager eager@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077