hvf: Move vcpu thread functions into common directory
commit39a3445012e44b01f6a7e7b29cf7477ef2a656eb
authorAlexander Graf <agraf@csgraf.de>
Thu, 3 Jun 2021 13:09:31 +0000 (3 14:09 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 3 Jun 2021 15:43:26 +0000 (3 16:43 +0100)
tree6b21b55fc4bd69df6bebb9d99339d2c8418e5241
parentd57bc3c1098f1614db1c5763f3672fe01d768972
hvf: Move vcpu thread functions into common directory

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 the vCPU thread loop over.

Signed-off-by: Alexander Graf <agraf@csgraf.de>
Reviewed-by: Sergio Lopez <slp@redhat.com>
Message-id: 20210519202253.76782-3-agraf@csgraf.de
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
accel/hvf/hvf-accel-ops.c [moved from target/i386/hvf/hvf-accel-ops.c with 100% similarity]
accel/hvf/hvf-accel-ops.h [moved from target/i386/hvf/hvf-accel-ops.h with 100% similarity]
accel/hvf/meson.build
target/i386/hvf/meson.build
target/i386/hvf/x86hvf.c