qemu-arm.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-arm] "Unable to find CPU definition" Error on aarch64
@ 2017-03-06  6:18 Yasutaka, T
  0 siblings, 0 replies; only message in thread
From: Yasutaka, T @ 2017-03-06  6:18 UTC (permalink / raw)
  To: qemu-arm

[-- Attachment #1: Type: text/plain, Size: 1486 bytes --]

Hi QEMU/ARM community,

I'm now trying to run QEMU on my aarch64 machine (Raspberry Pi 3 Model B).
I installed QEMU2.8.0 from source and the following command worked:

qemu-system-aarch64 -machine virt -cpu cortex-a53 -machine type=virt
-nographic -smp 1 -m 256 -kernel aarch64-linux-3.15rc2-buildroot.img
 --append "console=ttyAMA0"


However, when I changed "-cpu cortex-a53" to "-cpu host", it returns
"qemu-system-aarch64: Unable to find CPU definition" error message. My
lscpu says

pi@raspberrypi:~/os/guest1 $ lscpu
Architecture:          aarch64
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    4
Socket(s):             1
Model:                 4
CPU max MHz:           1200.0000
CPU min MHz:           600.0000
BogoMIPS:              38.40
Flags:                 fp asimd evtstrm crc32

and my /proc/cpuinfo is

pi@raspberrypi:~/os/guest1 $ cat /proc/cpuinfo
processor       : 0
BogoMIPS        : 38.40
Features        : fp asimd evtstrm crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

(RPI3 has 4 cores and processor 1, 2, and 3 have the same stats)

(CPU part 0xd03 means Cortex-A53 which should supports virtualization)
Why did QEMU complains this?

The kernel image is retrieved from
https://www.bennee.com/~alex/blog/2014/05/09/running-linux-in-qemus-aarch64-system-emulation-mode/

Sincerely yours,
Yasutaka Tanaka

[-- Attachment #2: Type: text/html, Size: 2276 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-06 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-06  6:18 [Qemu-arm] "Unable to find CPU definition" Error on aarch64 Yasutaka, T

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).