Re: [PATCH v7 19/24] whpx: arm64: implement -cpu host

Pierrick Bouvier
2025-10-16T17:12:20Z

On 10/16/25 9:55 AM, Mohamed Mediouni wrote:
> Logic to fetch MIDR_EL1 for cpu 0 adapted from:
> https://github.com/FEX-Emu/FEX/blob/e6de17e72ef03aa88ba14fa0ec13163061608c74/Source/Windows/Common/CPUFeatures.cpp#L62
>
> Signed-off-by: Mohamed Mediouni <mohamed@unpredictable.fr>
> ---
> hw/arm/virt.c | 2 +-
> target/arm/cpu64.c | 19 ++++---
> target/arm/whpx/whpx-all.c | 104 +++++++++++++++++++++++++++++++++++++
> target/arm/whpx_arm.h | 1 +
> 4 files changed, 119 insertions(+), 7 deletions(-)