[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8 07/19] hvf: Split out common code on vcpu init and destroy
From: |
Sergio Lopez |
Subject: |
Re: [PATCH v8 07/19] hvf: Split out common code on vcpu init and destroy |
Date: |
Thu, 27 May 2021 12:09:58 +0200 |
On Wed, May 19, 2021 at 10:22:41PM +0200, Alexander Graf wrote:
> Until now, Hypervisor.framework has only been available on x86_64 systems.
> With Apple Silicon shipping now, it extends its reach to aarch64. To
> prepare for support for multiple architectures, let's start moving common
> code out into its own accel directory.
>
> This patch splits the vcpu init and destroy functions into a generic and
> an architecture specific portion. This also allows us to move the generic
> functions into the generic hvf code, removing exported functions.
>
> Signed-off-by: Alexander Graf <agraf@csgraf.de>
> ---
> accel/hvf/hvf-accel-ops.c | 30 ++++++++++++++++++++++++++++++
> accel/hvf/hvf-accel-ops.h | 2 --
> include/sysemu/hvf_int.h | 2 ++
> target/i386/hvf/hvf.c | 23 ++---------------------
> 4 files changed, 34 insertions(+), 23 deletions(-)
Reviewed-by: Sergio Lopez <slp@redhat.com>
signature.asc
Description: PGP signature
- Re: [PATCH v8 04/19] hvf: Move hvf internal definitions into common header, (continued)
- [PATCH v8 01/19] hvf: Move assert_hvf_ok() into common directory, Alexander Graf, 2021/05/19
- [PATCH v8 03/19] hvf: Move cpu functions into common directory, Alexander Graf, 2021/05/19
- [PATCH v8 02/19] hvf: Move vcpu thread functions into common directory, Alexander Graf, 2021/05/19
- [PATCH v8 09/19] hvf: Make synchronize functions static, Alexander Graf, 2021/05/19
- [PATCH v8 07/19] hvf: Split out common code on vcpu init and destroy, Alexander Graf, 2021/05/19
- Re: [PATCH v8 07/19] hvf: Split out common code on vcpu init and destroy,
Sergio Lopez <=
- [PATCH v8 10/19] hvf: Remove hvf-accel-ops.h, Alexander Graf, 2021/05/19
- [PATCH v8 12/19] hvf: Simplify post reset/init/loadvm hooks, Alexander Graf, 2021/05/19
- [PATCH v8 08/19] hvf: Use cpu_synchronize_state(), Alexander Graf, 2021/05/19
- [PATCH v8 06/19] hvf: Remove use of hv_uvaddr_t and hv_gpaddr_t, Alexander Graf, 2021/05/19
- [PATCH v8 05/19] hvf: Make hvf_set_phys_mem() static, Alexander Graf, 2021/05/19