qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-arm] "Unable to find CPU definition" Error on aarch64


From: Yasutaka, T
Subject: [Qemu-arm] "Unable to find CPU definition" Error on aarch64
Date: Mon, 6 Mar 2017 01:18:27 -0500

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

address@hidden:~/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

address@hidden:~/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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]