[prev in list] [next in list] [prev in thread] [next in thread]
List: qemu-arm
Subject: Re: [PATCH v8 15/19] hvf: arm: Implement -cpu host
From: Sergio Lopez <slp () redhat ! com>
Date: 2021-05-27 11:18:53
Message-ID: 20210527111853.3zuudgp5xjwydelj () mhamilton
[Download RAW message or body]
On Wed, May 19, 2021 at 10:22:49PM +0200, Alexander Graf wrote:
> 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>
>
> ---
>
> v6 -> v7:
>
> - Move function define to own header
> - Do not propagate SVE features for HVF
> - Remove stray whitespace change
> - Verify that EL0 and EL1 do not allow AArch32 mode
> - Only probe host CPU features once
> ---
> target/arm/cpu.c | 9 ++++--
> target/arm/cpu.h | 2 ++
> target/arm/hvf/hvf.c | 72 ++++++++++++++++++++++++++++++++++++++++++++
> target/arm/hvf_arm.h | 19 ++++++++++++
> target/arm/kvm_arm.h | 2 --
> 5 files changed, 100 insertions(+), 4 deletions(-)
> create mode 100644 target/arm/hvf_arm.h
Reviewed-by: Sergio Lopez <slp@redhat.com>
Tested-by: Sergio Lopez <slp@redhat.com>
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic