hv: add a cache register for VMX_PROC_VM_EXEC_CONTROLS

This patch adds a cache register for VMX_PROC_VM_EXEC_CONTROLS
to avoid the frequent VMCS access.

Tracked-On: #5605
Signed-off-by: Jie Deng <jie.deng@intel.com>
This commit is contained in:
Jie Deng
2020-12-28 14:17:21 +08:00
committed by acrnsi-robot
parent f291997811
commit 27d5711b62
4 changed files with 15 additions and 29 deletions

View File

@@ -244,6 +244,7 @@ struct acrn_vcpu_arch {
uint32_t exit_reason;
uint32_t idt_vectoring_info;
uint64_t exit_qualification;
uint32_t proc_vm_exec_ctrls;
uint32_t inst_len;
/* Information related to secondary / AP VCPU start-up */