On Wed, May 19, 2021 at 10:22:35PM +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 assert_hvf_ok() and introduces generic build infrastructure. > > Signed-off-by: Alexander Graf > --- > MAINTAINERS | 8 +++++++ > accel/hvf/hvf-all.c | 47 ++++++++++++++++++++++++++++++++++++++++ > accel/hvf/meson.build | 6 +++++ > accel/meson.build | 1 + > include/sysemu/hvf_int.h | 18 +++++++++++++++ > target/i386/hvf/hvf.c | 33 +--------------------------- > 6 files changed, 81 insertions(+), 32 deletions(-) > create mode 100644 accel/hvf/hvf-all.c > create mode 100644 accel/hvf/meson.build > create mode 100644 include/sysemu/hvf_int.h Reviewed-by: Sergio Lopez