hvf: arm: Implement -cpu host
commit585df85efea9e4cc915737d7981cb900287c0d2a
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Sep 2021 09:21:08 +0000 (20 10:21 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 21 Sep 2021 15:28:26 +0000 (21 16:28 +0100)
tree7b7416580e503de3d8fdac423f78b21be55da977
parent219c101fa7f9c528458cd6a491af371f01e20cba
hvf: arm: Implement -cpu host

Now that we have working system register sync, we push more target CPU
properties into the virtual machine. That might be useful in some
situations, but is not the typical case that users want.

So let's add a -cpu host option that allows them to explicitly pass all
CPU capabilities of their host CPU into the guest.

Signed-off-by: Alexander Graf <agraf@csgraf.de>
Acked-by: Roman Bolshakov <r.bolshakov@yadro.com>
Reviewed-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20210916155404.86958-7-agraf@csgraf.de
[PMM: drop unnecessary #include line from .h file]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.c
target/arm/cpu.h
target/arm/hvf/hvf.c
target/arm/hvf_arm.h [new file with mode: 0644]
target/arm/kvm_arm.h