qemu-arm.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Yasutaka, T" <skyfly0008@gmail.com>
To: qemu-arm@nongnu.org
Subject: [Qemu-arm] "Unable to find CPU definition" Error on aarch64
Date: Mon, 6 Mar 2017 01:18:27 -0500	[thread overview]
Message-ID: <CAO=Ss3VPsdseq1a6+5-MgybhRSqrdZOhLtwAd0HWcBgdaSoT-Q@mail.gmail.com> (raw)

[-- 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 --]

                 reply	other threads:[~2017-03-06 14:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAO=Ss3VPsdseq1a6+5-MgybhRSqrdZOhLtwAd0HWcBgdaSoT-Q@mail.gmail.com' \
    --to=skyfly0008@gmail.com \
    --cc=qemu-arm@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).