hvf: Move hvf internal definitions into common header
commit861457ce73bc9e0e56d866b5c06e2c745fe53448
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)
treeaebb691313b7fdd95b2be872022b2ad9550014ec
parent358e7505b2795d3df505661da7be9dc81eaa91d9
hvf: Move hvf internal definitions into common header

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 a few internal struct and constant defines over.

Signed-off-by: Alexander Graf <agraf@csgraf.de>
Reviewed-by: Sergio Lopez <slp@redhat.com>
Message-id: 20210519202253.76782-5-agraf@csgraf.de
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
include/sysemu/hvf_int.h [copied from target/i386/hvf/hvf-i386.h with 60% similarity]
target/i386/hvf/hvf-i386.h