On 17/08/21 11:31, Robert Hoo wrote:
+ vmcs12_field_update_by_vmexit_ctrl(vmx->nested.msrs.entry_ctls_high, + *highp, data >> 32, + vmx->nested.vmcs12_field_existence_bitmap); + break; + case MSR_IA32_VMX_TRUE_ENTRY_CTLS: + vmcs12_field_update_by_vmentry_ctrl(vmx->nested.msrs.exit_ctls_high, + *highp, data >> 32, + vmx->nested.vmcs12_field_existence_bitmap);
These two functions maybe could be merged into just one, since there are going to be duplicate checks.
Paolo