acrn-hypervisor/hypervisor/arch/x86/guest
Yin Fengwei 90eca21d16 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>
2018-10-12 16:27:45 +08:00
..
guest.c HV:MM:gpa2hpa related error checking fix 2018-10-11 15:16:11 +08:00
instr_emul.c hv: fix 'No brackets to then/else' 2018-10-11 16:48:11 +08:00
instr_emul.h hv:Fix Implict conversion:actual to formal param 2018-09-18 13:09:39 +08:00
mptable.c hv: merge hv_lib.h and hypervisor.h 2018-09-27 15:55:41 +08:00
pm.c hv: arch: fix 'Unused procedure parameter' 2018-09-26 10:48:55 +08:00
ucode.c hv:Fix unused var value on all paths 2018-09-26 11:10:21 +08:00
vcpu.c hv: simplify the function init_guest_state 2018-10-12 16:27:45 +08:00
vlapic_priv.h hv: fix 'User name starts with underscore' 2018-09-30 14:45:37 +08:00
vlapic.c hv: add function to set AP entry 2018-10-12 16:27:45 +08:00
vm.c hv: Add function to set UOS BSP init state 2018-10-12 16:27:45 +08:00
vmcall.c hv:Remove CONFIG_VM0_DESC 2018-10-12 14:41:48 +08:00
vmsr.c hv: Replace dynamic memory allocation for MSR bitmap 2018-09-12 09:20:07 +08:00