[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8 15/19] hvf: arm: Implement -cpu host
From: |
Sergio Lopez |
Subject: |
Re: [PATCH v8 15/19] hvf: arm: Implement -cpu host |
Date: |
Thu, 27 May 2021 13:18:53 +0200 |
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
Description: PGP signature
- Re: [PATCH v8 06/19] hvf: Remove use of hv_uvaddr_t and hv_gpaddr_t, (continued)
- [PATCH v8 05/19] hvf: Make hvf_set_phys_mem() static, Alexander Graf, 2021/05/19
- [PATCH v8 14/19] arm/hvf: Add a WFI handler, Alexander Graf, 2021/05/19
- [PATCH v8 11/19] hvf: Introduce hvf vcpu struct, Alexander Graf, 2021/05/19
- [PATCH v8 13/19] hvf: Add Apple Silicon support, Alexander Graf, 2021/05/19
- [PATCH v8 15/19] hvf: arm: Implement -cpu host, Alexander Graf, 2021/05/19
- Re: [PATCH v8 15/19] hvf: arm: Implement -cpu host,
Sergio Lopez <=
- [PATCH v8 16/19] hvf: arm: Implement PSCI handling, Alexander Graf, 2021/05/19
- [PATCH v8 18/19] arm: Enable Windows 10 trusted SMCCC boot call, Alexander Graf, 2021/05/19
- [PATCH v8 19/19] hvf: arm: Handle Windows 10 SMC call, Alexander Graf, 2021/05/19
- [PATCH v8 17/19] arm: Add Hypervisor.framework build target, Alexander Graf, 2021/05/19
- Re: [PATCH v8 00/19] hvf: Implement Apple Silicon Support, no-reply, 2021/05/19