[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] PPC970: "CPU requires an RMO"
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] PPC970: "CPU requires an RMO" |
Date: |
Fri, 9 Dec 2011 13:06:13 +1100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Dec 06, 2011 at 09:47:37PM -0800, red f1sh wrote:
> Hello,
>
> I'm trying to use qemu-kvm on a ppc970 box, and when I try to execute
> qemu-system-ppc64 with -enable-kvm I'm getting an "Invalid argument"
> message and "CPU requires an RMO" in dmesg. For example:
>
> # /usr/local/bin/qemu-system-ppc64 -kernel /boot/vmlinux-3.2.0-rc4 -m 1024
> -initrd /boot/ramdisk.dr.gz -enable-kvm -mem-path /HTLBFS/
>
> kvm_set_phys_mem: error registering slot: Invalid argument
> Aborted (core dumped)
>
> In dmesg I get:
> KVM guest htab at c00000013f000000, LPID 1
> CPU requires an RMO
>
> I think I have everything setup correctly, I have the "kvm_rma_count"
> kernel parameter set and (as far as I can tell) hugetlbfs is setup
> correctly. Meminfo looks like:
> # cat /proc/meminfo | grep -i huge
> HugePages_Total: 296
> HugePages_Free: 296
> HugePages_Rsvd: 0
> HugePages_Surp: 0
> Hugepagesize: 16384 kB
>
> I'm sure I'm missing something, anyone have any ideas?
What sort of 970 machine is it?
I'm guessing you want the pseries target machine, in which case you'll
need '-M pseries'. You may also need to explicitly specify the
modelled CPU with '-cpu 970MP' or similar. Although I think current
qemu defaults to '-cpu host' with kvm, which should accomplish the
same thing.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson