acrn-hypervisor/hypervisor/arch/x86/guest
Zide Chen b627c2c979 hv: switch IA32_TSC_AUX between host/guest through VM Controls
Currently guest IA32_TSC_AUX MSR is loaded manually right before VM
entry, and saved right after VM exit.

This patch enables VM-Entry Control and VM-Exit Control to switch
MSR IA32_TSC_AUX between host and guest automatically. This helps to
keep vcpu_thread() function and struct acrn_vcpu cleaner.

Also it removes the dead code of intercepting IA32_TSC_AUX.

Tracked-On: #1867
Signed-off-by: Zide Chen <zide.chen@intel.com>
Reviewed-by: Li, Fei1 <fei1.li@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-11-27 09:26:29 +08:00
..
guest.c hv: fix 'Expression is not Boolean' 2018-11-08 13:04:11 +08:00
instr_emul.c hv: fix '(void) missing for discarded return value' 2018-11-15 10:54:42 +08:00
instr_emul.h HV:treewide:rename vcpu data structure 2018-11-05 15:35:49 +08:00
pm.c hv:Replace dynamic memory with static for port io 2018-11-09 13:05:04 +08:00
ucode.c HV:treewide:rename vcpu data structure 2018-11-05 15:35:49 +08:00
vcpu.c hv: switch IA32_TSC_AUX between host/guest through VM Controls 2018-11-27 09:26:29 +08:00
vlapic_priv.h hv: self-IPI APIC register in x2APIC mode of guest vLAPIC 2018-11-02 13:48:43 +08:00
vlapic.c hv: fix integer violations 2018-11-14 12:46:34 +08:00
vm.c hv: Add IO request completion polling feature 2018-11-21 14:35:12 +08:00
vmcall.c hv: hypercall: clean up HV_DEBUG usage 2018-11-20 10:01:50 +08:00
vmsr.c hv: switch IA32_TSC_AUX between host/guest through VM Controls 2018-11-27 09:26:29 +08:00