Home
last modified time | relevance | path

Searched refs:evmcs (Results 1 – 3 of 3) sorted by relevance

/linux/arch/x86/kvm/vmx/
H A Dnested.c721 struct hv_enlightened_vmcs *evmcs = nested_vmx_evmcs(vmx); in nested_vmx_prepare_msr_bitmap()
723 if (evmcs && evmcs->hv_enlightenments_control.msr_bitmap && in nested_vmx_prepare_msr_bitmap()
724 evmcs->hv_clean_fields & HV_VMX_ENLIGHTENED_CLEAN_FIELD_MSR_BITMAP) in nested_vmx_prepare_msr_bitmap()
1722 struct hv_enlightened_vmcs *evmcs = nested_vmx_evmcs(vmx); in copy_enlightened_to_vmcs12()
1726 vmcs12->tpr_threshold = evmcs->tpr_threshold; in copy_enlightened_to_vmcs12()
1727 vmcs12->guest_rip = evmcs->guest_rip; in copy_enlightened_to_vmcs12()
1731 hv_vcpu->nested.pa_page_gpa = evmcs->partition_assist_page; in copy_enlightened_to_vmcs12()
1732 hv_vcpu->nested.vm_id = evmcs->hv_vm_id; in copy_enlightened_to_vmcs12()
1733 hv_vcpu->nested.vp_id = evmcs in copy_enlightened_to_vmcs12()
692 struct hv_enlightened_vmcs *evmcs = nested_vmx_evmcs(vmx); nested_vmx_prepare_msr_bitmap() local
1693 struct hv_enlightened_vmcs *evmcs = nested_vmx_evmcs(vmx); copy_enlightened_to_vmcs12() local
1941 struct hv_enlightened_vmcs *evmcs = nested_vmx_evmcs(vmx); copy_vmcs12_to_enlightened() local
2710 struct hv_enlightened_vmcs *evmcs = nested_vmx_evmcs(vmx); prepare_vmcs02() local
3807 struct hv_enlightened_vmcs *evmcs = nested_vmx_evmcs(vmx); nested_vmx_run() local
[all...]
H A Dvmx.c637 struct hv_enlightened_vmcs *evmcs; in hv_enable_l2_tlb_flush()
643 evmcs = (struct hv_enlightened_vmcs *)to_vmx(vcpu)->loaded_vmcs->vmcs; in hv_enable_l2_tlb_flush()
645 evmcs->partition_assist_page = partition_assist_page; in hv_enable_l2_tlb_flush()
646 evmcs->hv_vm_id = (unsigned long)vcpu->kvm;
647 evmcs->hv_enlightenments_control.nested_flush_hypercall = 1; in hv_init_evmcs()
4100 struct hv_enlightened_vmcs *evmcs = (void *)vmx->vmcs01.vmcs; in vmx_set_intercept_for_msr()
4102 if (evmcs->hv_enlightenments_control.msr_bitmap) in vmx_set_intercept_for_msr()
4103 evmcs->hv_clean_fields &= in vmx_set_intercept_for_msr()
7723 struct hv_enlightened_vmcs *evmcs = (void *)vmx->vmcs01.vmcs; in vmx_vcpu_create()
7725 evmcs in vmx_vcpu_create()
632 struct hv_enlightened_vmcs *evmcs; hv_enable_l2_tlb_flush() local
4070 struct hv_enlightened_vmcs *evmcs = (void *)vmx->vmcs01.vmcs; vmx_msr_bitmap_l01_changed() local
7732 struct hv_enlightened_vmcs *evmcs = (void *)vmx->vmcs01.vmcs; vmx_vcpu_create() local
[all...]
/linux/tools/testing/selftests/kvm/x86/
H A Devmcs_smm_controls_test.c78 struct hv_enlightened_vmcs *evmcs; in main() local
123 evmcs = hv->enlightened_vmcs_hva; in main()
124 evmcs->pin_based_vm_exec_control |= PIN_BASED_VIRTUAL_NMIS; in main()
125 evmcs->hv_clean_fields = 0; in main()