search for: cpu_has_vmx_pl

Displaying 1 result from an estimated 1 matches for "cpu_has_vmx_pl".

Did you mean: cpu_has_vmx_pml
2009 Jul 07
0
[PATCH] [VMX] Add support for Pause-Loop Exiting
...''t virtualise APIC accesses, the TPR shadow is pointless. */ if ( !(_vmx_secondary_exec_control & @@ -556,6 +578,12 @@ static int construct_vmcs(struct vcpu *v __vmwrite(VM_EXIT_CONTROLS, vmx_vmexit_control); __vmwrite(VM_ENTRY_CONTROLS, vmx_vmentry_control); + if ( cpu_has_vmx_ple ) + { + __vmwrite(PLE_GAP, ple_gap); + __vmwrite(PLE_WINDOW, ple_window); + } + if ( cpu_has_vmx_secondary_exec_control ) __vmwrite(SECONDARY_VM_EXEC_CONTROL, v->arch.hvm_vmx.secondary_exec_control); Index: hv/xen/arch/x86/hvm/vmx/vmx.c =====...