Re: [PATCH 8/8 v3] KVM: PPC: e500: Add e6500 core to Kconfig description

tiejun.chen
2013-04-26T03:11:29Z

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.

Tiejun