acrn-hypervisor/hypervisor/include/arch
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
..
x86 hv: Save/restore MSR_IA32_CSTAR during context switch 2021-04-01 16:51:15 +08:00