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 > --- > 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