On 1/13/23 08:22, Fabiano Rosas wrote:
Claudio Fontana <[email protected]> writes:
On 1/13/23 15:04, Fabiano Rosas wrote:
The cortex-a15 is not present anymore when CONFIG_TCG=n, so use the
cortex-a57 as default cpu for KVM.
Signed-off-by: Fabiano Rosas <[email protected]>
Our recommendation currently for KVM on ARM is to always use CPU="host", as
named cpu models generally don't work (yet?) with KVM.
https://qemu-project.gitlab.io/qemu/system/arm/cpu-features.html
Should then "host" be the default for KVM if CONFIG_TCG=N or CONFIG_TCG=M and
the TCG .so is not loaded?
Yes, "host" seems to make more sense. I was under the impression that
there was a way to use cortex-a57 and cortex-a53 since they have
cpu->kvm_target set.
One may use a -cpu other than 'host' if and only if it exactly matches the host.
r~