From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7VM1-0001EI-DZ for qemu-devel@nongnu.org; Mon, 09 Nov 2009 09:36:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7VLr-00015O-MQ for qemu-devel@nongnu.org; Mon, 09 Nov 2009 09:36:24 -0500 Received: from [199.232.76.173] (port=47253 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7VLr-00015I-FM for qemu-devel@nongnu.org; Mon, 09 Nov 2009 09:36:15 -0500 Received: from mailproxy.ntust.edu.tw ([140.118.31.61]:59802) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1N7VLn-0006kC-H9 for qemu-devel@nongnu.org; Mon, 09 Nov 2009 09:36:15 -0500 From: "m9807418" Subject: [Qemu-devel]question:arm's mutli-core emulator Message-ID: <1257777334.23404.m9807418@mail.ntust.edu.tw> Date: Mon, 09 Nov 2009 22:35:34 +0800 (CST) MIME-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: quoted-printable Reply-To: m9807418@mail.ntust.edu.tw List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel >=202009/11/7=20m9807418=20: >>=20When=20I=20used=20qemu-system-arm=20and=20the=20-smp=20option. >>=20I=20key=20-smp=202. >>=20It=20have=20a=20message=20""Number=20of=20SMP=20cpus=20requested=20(2),= =20exceeds=20max=20cpus >>=20supported=20by=20machine=20`Versatile'=20(1)=20" >>=20which=20files=20of=20the=20qemu=20source=20code=20can=20i=20change? >>=20And=20the=20change=20can=20let=20me=20emulator=20arm's=20multi-core. > >=201.=20Your=20question=20has=20nothing=20to=20do=20with=20the=20developmen= t=20of=20qemu,=20so >=20don't=20be=20surprised=20when=20you=20don't=20get=20too=20many=20respons= es. > >=202.=20See=20qemu/hw/realview.c >=20=20=20=20if=20(!cpu_model) >=20=20=20=20=20=20=20=20cpu_model=20=3D=20"arm926"; >=20=20=20=20/*=20FIXME:=20obey=20smp_cpus.=20=20*/ >=20=20=20=20if=20(strcmp(cpu_model,=20"arm11mpcore")=20=3D=3D=200)=20{ >=20=20=20=20=20=20=20=20ncpu=20=3D=204; >=20=20=20=20}=20else=20{ >=20=20=20=20=20=20=20=20ncpu=20=3D=201; >=20=20=20=20} > //////////////////////////////////////////////////////////////////// Scott=20tsai's=20answer=20whether=20i=20must=20use=20arm11mpcore=20cpu,i=20j= ust=20can=20emulator=204=20cpus. Can=20i=20change=20the=20number=20and=20get=20the=20number=20i=20want? And=20Versatilepb.c=20i=20use=20the=20same=20way=20like=20Realview.c. Qemu=20shell=20can=20find=202=20cpus,but=20the=20OS=20can't=20install. I=20am=20fail. Now=20i=20have=20another=20question. 1.Arm's=20multi-core=20emulator=20whether=20can=20use=20arm=20Versatile?=20 If=20it=20can,=20i=20must=20do=20what? 2.If=20can=20not=20use=20arm=20Versatile,can=20talk=20me=20which=20can=20be=20= emulator=20multi-core=20except=20arm=20RealView. Sorry.I=20don't=20know=20how=20to=20do=20use=20qemu=20emulator=20RealView and=20where=20to=20download=20theRealView's=20kernel=20and=20initrd=20file?=20= Anyone=20have=20some=20step=20to=20emulator=20arm=20Realview. like=20=20http://www.aurel32.net/info/debian_arm_qemu.php anybody=20can=20help=20me thank=20 qun=20yi=20