On Wed, May 19, 2021 at 10:22:37PM +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 moves CPU and memory operations over. While at it, make sure > the code is consumable on non-i386 systems. > > Signed-off-by: Alexander Graf <ag...@csgraf.de> > --- > accel/hvf/hvf-accel-ops.c | 308 ++++++++++++++++++++++++++++++++++++- > include/sysemu/hvf_int.h | 4 + > target/i386/hvf/hvf-i386.h | 2 - > target/i386/hvf/hvf.c | 302 ------------------------------------ > target/i386/hvf/x86hvf.h | 2 - > 5 files changed, 311 insertions(+), 307 deletions(-)
Reviewed-by: Sergio Lopez <s...@redhat.com>
signature.asc
Description: PGP signature