qemu-devel
[Top][All Lists]
Advanced

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

RE: supported machines for aarch64


From: ckim
Subject: RE: supported machines for aarch64
Date: Fri, 19 Feb 2021 19:18:21 +0900

Hi Peter Maydell,

Thanks, that made it clearer to me.(actually I was reading the page you 
mentioned)

Chan Kim

> -----Original Message-----
> From: Peter Maydell <peter.maydell@linaro.org>
> Sent: Friday, February 19, 2021 7:04 PM
> To: Chan Kim <ckim@etri.re.kr>
> Cc: Philippe Mathieu-Daudé <philmd@redhat.com>; qemu-discuss <qemu-
> discuss@nongnu.org>; Paolo Bonzini <pbonzini@redhat.com>; qemu-devel
> <qemu-devel@nongnu.org>; Markus Armbruster <armbru@redhat.com>
> Subject: Re: supported machines for aarch64
> 
> On Fri, 19 Feb 2021 at 08:05, <ckim@etri.re.kr> wrote:
> > These are the machine lists that included cortex-a72 when I gave
> > qemu-system-aarch64 --machine xxx --cpu help.
> 
> Adding '--machine whatever' to your command line does not change the
> output of '--cpu help'. As Philippe says, it happens that QEMU processes -
> -cpu before --machine, so it handles '--cpu help', prints the fixed list
> of supported CPUs, and ignores whether you passed a valid --machine option
> or not.
> 
> There is no automated way to get QEMU to tell you which CPUs a particular
> board model supports.
> 
> I recommend that you follow the advice given here
> https://qemu.readthedocs.io/en/latest/system/target-arm.html#choosing-a-
> board-model
> for how to choose a board model. (Short answer: if you know you want to
> run guest code for a specific board type, use that board type. Otherwise,
> use 'virt'.) Then, you should stick with the default CPU type (ie, do not
> pass --cpu) for that board, for all board types *except* 'virt'. For
> 'virt' you can pass in the CPU type you want (and the documentation lists
> which types it supports).
> 
> -- PMM







reply via email to

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