From mboxrd@z Thu Jan 1 00:00:00 1970 From: "tiejun.chen" Subject: Re: [PATCH 8/8 v3] KVM: PPC: e500: Add e6500 core to Kconfig description Date: Fri, 26 Apr 2013 17:38:15 +0800 Message-ID: <517A4B07.2010807@windriver.com> References: <300B73AA675FCE4A93EB4FC1D42459FF3D94D7@039-SN2MPN1-013.039d.mgd.msft.net> <5178F483.9010001@windriver.com> <300B73AA675FCE4A93EB4FC1D42459FF3D967A@039-SN2MPN1-013.039d.mgd.msft.net> <5178FC3A.8090407@windriver.com> <300B73AA675FCE4A93EB4FC1D42459FF3D997F@039-SN2MPN1-013.039d.mgd.msft.net> <51791195.7090909@windriver.com> <300B73AA675FCE4A93EB4FC1D42459FF3D9A8A@039-SN2MPN1-013.039d.mgd.msft.net> <5179F061.2040603@windriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit Cc: "kvm-ppc@vger.kernel.org" , "kvm@vger.kernel.org" To: Caraman Mihai Claudiu-B02008 Return-path: In-Reply-To: <5179F061.2040603@windriver.com> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 04/26/2013 11:11 AM, tiejun.chen wrote: > On 04/25/2013 07:32 PM, Caraman Mihai Claudiu-B02008 wrote: >>> Is the flowing is fine with that generic machine, ppce500, to boot >>> P5040DS with >>> 64bit, >>> >>> ./qemu-system-ppc64 -enable-kvm -m 1048 -nographic -M ppce500 -kernel >>> uImage >>> -initrd ramdisk.gz -L . -append "root=/dev/ram rw console=ttyS0,115200" >>> -cpu >>> e5500 -dtb p5040ds.dtb >>> >>> Thanks, >>> >>> Tiejun >> >> There is no need for -dtb. > > With your comment, I use kvm-ppc-queue which top commit is be28a27c, "kvm/ppc: > don't call complete_mmio_load when it's a store", in plus that patch you > pointed to build one uImage based on corenet64_smp_defconfig, but we need to > enable CONFIG_PPC_QEMU_E500 manually, and select CONFIG_TICK_CPU_ACCOUNTING > since the default CONFIG_VIRT_CPU_ACCOUNTING_NATIVE would introduce some trace > when boot VM. > > And perform as follows: > > ./qemu-system-ppc64 -enable-kvm -m 1048 -nographic -M ppce500 -kernel uImage > -initrd ramdisk.gz -L . -append "root=/dev/ram rw console=ttyS0,115200" -cpu e5500 > > But I can't see anything in the serial port. Please ignore this since e5500 is okay now. Thanks for your reply. Tiejun