qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/1] hw/arm/virt: Make host as default CPU type


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 1/1] hw/arm/virt: Make host as default CPU type on AArch64
Date: Thu, 19 Mar 2015 14:55:51 +0000

On 19 March 2015 at 14:53, Wei Huang <address@hidden> wrote:
> Currently mach-virt machine model uses cortex-a15 as default CPU when
> -cpu option is missing. This caused confusion to certain virt tools
> (e.g. libvirt, virt-install) which don't suppply -cpu option while
> invoking qemu-kvm. To solve this problem this patch changes the default
> CPU type to "host" when target is AArch64.
>
> NOTE: It doesn't use "cortex-a57" as default CPU type because cortex-a57
> doesn't work on some 64bit ARM machine, such as APM Mustang. "host" is
> a safe bet for all AArch64 machines.

This won't work if you're not using KVM, since 'host' isn't a
valid CPU type there, and it will break working command lines
as well. Also it breaks the current invariant of "command
lines on qemu-system-arm also work on qemu-system-aarch64".
I don't like the place we've ended up with the command
line setup for the 64-bit virt board, but I don't think this is
the correct fix...

-- PMM



reply via email to

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