acrn-hypervisor/hypervisor/arch/x86/guest
Shuo A Liu 684766f008 hv: Save/restore MSR_IA32_CSTAR during context switch
Both Windows guest and Linux guest use the MSR MSR_IA32_CSTAR, while
Linux uses it rarely. Now vcpu context switch doesn't save/restore it.
Windows detects the change of the MSR and rises a exception.

Do the save/resotre MSR_IA32_CSTAR during context switch.

Tracked-On: #5899
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
2021-04-01 16:51:15 +08:00
..
assign.c hv: ptirq: Shouldn't change sid if intx irq mapping was added 2021-01-12 15:23:44 +08:00
ept.c hv: page: use dynamic page allocation for pagetable mapping 2021-03-11 12:36:17 +08:00
guest_memory.c hv: Add split-lock emulation for xchg 2020-12-31 11:12:33 +08:00
hyperv.c hv: rename the ACRN_DBG_XXX 2020-01-14 10:21:23 +08:00
instr_emul.c hv: Add split-lock emulation for xchg 2020-12-31 11:12:33 +08:00
pm.c hv: pm: avoid duplicate shutdowns on RTVM 2020-11-11 14:05:39 +08:00
splitlock.c hv: remove bitmap_clear_lock of split-lock after completing emulation 2021-01-13 15:32:27 +08:00
trusty.c hv: page: use dynamic page allocation for pagetable mapping 2021-03-11 12:36:17 +08:00
ucode.c remove spin lock for micro code update 2020-06-19 16:13:20 +08:00
vcpu.c hv: Save/restore MSR_IA32_CSTAR during context switch 2021-04-01 16:51:15 +08:00
vcpuid.c hv: disable guest MONITOR-WAIT support when SW SRAM is configured 2021-03-10 11:42:02 +08:00
ve820.c hv: remove the hardcoding of Software SRAM GPA base 2021-01-30 13:41:02 +08:00
virq.c hv: move split-lock logic into dedicated file 2021-01-08 17:37:20 +08:00
virtual_cr.c hv: keylocker: host keylocker iwkey context switch 2021-02-03 13:54:45 +08:00
vlapic_priv.h hv: add ops to vlapic structure 2019-07-19 16:47:06 +08:00
vlapic.c hv: WA: Disable advanced feature of apicv to WA ACRN-6886 2021-03-24 13:32:51 +08:00
vm_reset.c hv: pm: avoid duplicate shutdowns on RTVM 2020-11-11 14:05:39 +08:00
vm.c HV: Revert "HV: remove efi support for SOS" 2021-03-15 11:14:30 +08:00
vmcall.c hv: rename hypercall for hv-emulated device management 2020-12-07 16:25:17 +08:00
vmcs.c hv: keylocker: Support Key Locker feature for guest VM 2021-02-03 13:54:45 +08:00
vmexit.c hv: wrap function to check software SRAM support 2021-03-10 11:42:02 +08:00
vmsr.c hv: disable guest MONITOR-WAIT support when SW SRAM is configured 2021-03-10 11:42:02 +08:00
vmtrr.c hv: vmtrr: remove vcpu structure pointer from vmtrr 2020-03-31 10:57:47 +08:00
vmx_asm.S hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00
vmx_io.c hv: ept: build 4KB page mapping in EPT for code pages of rtvm 2021-03-11 12:36:17 +08:00