mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 07:35:31 +00:00
hv: simplify the function init_guest_state
The vcpu state is initialized outside of init_guest_state: - SOS BSP state is initialized in SOS loader - UOS BSP state is initialized in UOS loader - AP state is initialized during SIPI signal emulation We could make init_guest_state only update the vcpu state to VMCS structure. Tracked-On: #1231 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -194,7 +194,6 @@ struct vcpu_arch {
|
||||
/* Information related to secondary / AP VCPU start-up */
|
||||
enum vm_cpu_mode cpu_mode;
|
||||
uint8_t nr_sipi;
|
||||
uint32_t sipi_vector;
|
||||
|
||||
/* interrupt injection information */
|
||||
uint64_t pending_req;
|
||||
|
||||
Reference in New Issue
Block a user