]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Make KVM -cpu max exactly like -cpu host
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 4 Feb 2022 16:55:03 +0000 (16:55 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 21 Feb 2022 13:30:20 +0000 (13:30 +0000)
commit0baa21be497ddbd8f4eea920464aaa096004733b
treeb635d46704ecf0006b0beee5e29898e3ff6a096b
parent73cc9ee6bfadcdbd079cf4871179ef5760146d1c
target/arm: Make KVM -cpu max exactly like -cpu host

Currently for KVM the intention is that '-cpu max' and '-cpu host'
are the same thing, but because we did this with two separate
pieces of code they have got a little bit out of sync. Specifically,
'max' has a 'sve-max-vq' property, and 'host' does not.

Bring the two together by having the initfn for 'max' actually
call the initfn for 'host'. This will result in 'max' no longer
exposing the 'sve-max-vq' property when using KVM.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Alexander Graf <agraf@csgraf.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220204165506.2846058-4-peter.maydell@linaro.org
target/arm/cpu64.c