[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] emulate powerpc(mpc8544ds) on x86 architectu
From: |
Alexander Graf |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] emulate powerpc(mpc8544ds) on x86 architecture |
Date: |
Wed, 20 Feb 2013 15:46:52 +0100 |
On 20.02.2013, at 15:07, Andreas Färber wrote:
> Hi,
>
> Am 20.02.2013 10:22, schrieb Shi Rong:
>> I want to emulate powerpc(mpc8544ds) on x86 architecture, is anybody
>> succeed in it?
>
> If you CC Power Architecture questions to qemu-ppc, you have higher
> chances of getting replies from the experts.
>
>> My working step:
>> about qemu:
>> ./configure --cpu=ppc --target-list=ppc-softmmu --enable-fdt
>> --enable-kvm --enable-tcg-interpreter --enable-linux-user
>> --prefix=/home/shir/install/qemu/
>> make
>> make install
>
> --cpu=ppc is bogus, just drop it.
> Also --enable-tcg-interpreter is unnecessary on x86.
Also no need for enable-kvm, as you're running on x86. KVM only helps for
compatible CPUs (ppc on ppc for example).
>
>> but everytime I start my qemu-system-ppc,
>> qemu-system-ppc -M mpc8544ds -kernel uImage -append "root=/dev/ram
>> rdinit=/linuxrc" -initrd initrd -nographic
>> I get this error :
>> "KVM: Couldn't find level irq capability. Expect the VM to stall at times
>> kvm_init_vcpu failed: Cannot allocate memory"
>
> What kernel are you using? Sounds like it is lacking some required feature.
This is probably because you compiled with -cpu=ppc. Without, KVM shouldn't get
detected and all is well.
Alex