[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8 11/19] hvf: Introduce hvf vcpu struct
From: |
Sergio Lopez |
Subject: |
Re: [PATCH v8 11/19] hvf: Introduce hvf vcpu struct |
Date: |
Thu, 27 May 2021 12:18:59 +0200 |
On Wed, May 19, 2021 at 10:22:45PM +0200, Alexander Graf wrote:
> We will need more than a single field for hvf going forward. To keep
> the global vcpu struct uncluttered, let's allocate a special hvf vcpu
> struct, similar to how hax does it.
>
> Signed-off-by: Alexander Graf <agraf@csgraf.de>
> Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com>
> Tested-by: Roman Bolshakov <r.bolshakov@yadro.com>
> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
>
> ---
>
> v4 -> v5:
>
> - Use g_free() on destroy
> ---
> accel/hvf/hvf-accel-ops.c | 8 +-
> include/hw/core/cpu.h | 3 +-
> include/sysemu/hvf_int.h | 4 +
> target/i386/hvf/hvf.c | 104 +++++++++---------
> target/i386/hvf/vmx.h | 24 +++--
> target/i386/hvf/x86.c | 28 ++---
> target/i386/hvf/x86_descr.c | 26 ++---
> target/i386/hvf/x86_emu.c | 62 +++++------
> target/i386/hvf/x86_mmu.c | 4 +-
> target/i386/hvf/x86_task.c | 12 +--
> target/i386/hvf/x86hvf.c | 210 ++++++++++++++++++------------------
> 11 files changed, 248 insertions(+), 237 deletions(-)
Reviewed-by: Sergio Lopez <slp@redhat.com>
signature.asc
Description: PGP signature
- Re: [PATCH v8 12/19] hvf: Simplify post reset/init/loadvm hooks, (continued)
- [PATCH v8 10/19] hvf: Remove hvf-accel-ops.h, Alexander Graf, 2021/05/19
- [PATCH v8 05/19] hvf: Make hvf_set_phys_mem() static, Alexander Graf, 2021/05/19
- [PATCH v8 08/19] hvf: Use cpu_synchronize_state(), 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
- Re: [PATCH v8 11/19] hvf: Introduce hvf vcpu struct,
Sergio Lopez <=
- [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
- [PATCH v8 16/19] hvf: arm: Implement PSCI handling, Alexander Graf, 2021/05/19
- [PATCH v8 17/19] arm: Add Hypervisor.framework build target, Alexander Graf, 2021/05/19
- [PATCH v8 19/19] hvf: arm: Handle Windows 10 SMC call, Alexander Graf, 2021/05/19