Files
acrn-hypervisor/misc/hv_prebuild
Yifan Liu cf91e66ac0 hv: vcpu: Move vcpu common parts under common/vcpu.h (data structure)
This commit cleans up struct acrn_vcpu. vcpu API cleanup will be in
future patch series.

Create a common vcpu.h hosting struct acrn_vcpu, and move some x86
specific members of struct acrn_vcpu into struct acrn_vcpu_arch. These
members includes:

reg_cached
reg_updated
inst_ctxt

And pending_req is being moved from arch to common.

And the maximum number of events (i.e., VCPU_EVENT_NUM) are being
replaced by MAX_VCPU_EVENT_NUM.

To avoid circular dependency, some in-header helpers are moved into
vcpu.c with only prototypes being declared inside header.

Tracked-On: #8830
Signed-off-by: Yifan Liu <yifan1.liu@intel.com>
Reviewed-by: Fei Li <fei1.li@intel.com>
Acked-by: Wang Yu1 <yu1.wang@intel.com>
2025-10-30 13:30:32 +08:00
..

:orphan:

Hypervisor Pre-Build Check Tool
###############################

There are a number of configuration elements for the ACRN hypervisor that must
defined before building the binaries. Those configuration elements are set
by the user using the :ref:`ACRN Configurator tool <acrn_configuration_tool>`.


This folder holds the source to a tool that is used to ensure that the
configuration is coherent and valid. It is a tool used in the background by
the build system before compiling the hypervisor and other components. It is
not meant to be used as a stand-alone too.