qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: ckim@etri.re.kr, qemu-discuss@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	qemu-devel <qemu-devel@nongnu.org>,
	Markus Armbruster <armbru@redhat.com>
Subject: Re: supported machines for aarch64
Date: Mon, 15 Feb 2021 08:38:18 +0100	[thread overview]
Message-ID: <57e74877-84a4-0157-1407-a67156dc2b6e@redhat.com> (raw)
In-Reply-To: <027101d7035b$2e94a600$8bbdf200$@etri.re.kr>

Hi,

On 2/15/21 6:26 AM, ckim@etri.re.kr wrote:
> Hello,
> 
> I tried “qemu-system-arm –machine help” and it gave me 75 machines.
> 
> Then I tried “qemu-system-aarch64 –machine help”, and it gave me almost
> the same result except it had raspi3, sbsa-ref, xlnx-versal-virt and
> xlnx-zcu102 in addition.
> 
> I asked myself, Does this mean most machines work both in 32bit mode and
> 64bit mode and those added 4 machines work only in 64bit mode?

Yes.

> So I tried for integrator machine which is supported both by
> qemu-system-arm and qemu-system-aarch64,
> 
> “qemu-system-arm –machine integrator –cpu help” and “qemu-system-aarch64
> –machine integrator –cpu help”, and this time,
> 
> The cpu list was almost the same(mostly seemd older 32 bit versions) but
> the aarch64 cpu list gave me 3 more cpus (cortex-a53, a57 and a72).

Indeed.

> 
> So I realized the qemu-system-aarch64 can emulate both 32bit and 64bit
> machine and cpu cores – as the document says.

Correct.

> .(it’s still strange “qemu-system-arm –machine help” doesn’t give me
> xlnx-versal-virt in the list, but “qemu-system-arm –machine
> xlnx-versal-virt –cpu help” still gives some machines in the list..)

This is because '-cpu' is processed *before* '-machine', so this works:

$ qemu-system-arm -M adsfafdadsfasdfdafadfasdfa -cpu help
Available CPUs:
  arm1026
  arm1136
  arm1136-r2
  ...

> I started this as a question but found out the answer while writing..

:)

> Thank you and correct me if I’m wrong

Regards,

Phil.



       reply	other threads:[~2021-02-15  7:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <027101d7035b$2e94a600$8bbdf200$@etri.re.kr>
2021-02-15  7:38 ` Philippe Mathieu-Daudé [this message]
2021-02-19  8:01   ` supported machines for aarch64 ckim
2021-02-19 10:04     ` Peter Maydell
2021-02-19 10:18       ` ckim

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=57e74877-84a4-0157-1407-a67156dc2b6e@redhat.com \
    --to=philmd@redhat.com \
    --cc=armbru@redhat.com \
    --cc=ckim@etri.re.kr \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-discuss@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).