Searched refs:vmx (Results 1 – 16 of 16) sorted by relevance
| /arch/x86/kvm/vmx/ |
| A D | vmx.c | 1184 pt_save_msr(&vmx->pt_desc.host, vmx->pt_desc.num_address_ranges); in pt_guest_enter() 1854 vmx_setup_uret_msr(vmx, MSR_EFER, update_transition_efer(vmx)); in vmx_setup_uret_msrs() 4352 pin_controls_set(vmx, vmx_pin_based_exec_ctrl(vmx)); in vmx_refresh_apicv_exec_ctrl() 4627 pin_controls_set(vmx, vmx_pin_based_exec_ctrl(vmx)); in init_vmcs() 4629 exec_controls_set(vmx, vmx_exec_control(vmx)); in init_vmcs() 4713 memset(&vmx->pt_desc, 0, sizeof(vmx->pt_desc)); in init_vmcs() 4740 init_vmcs(vmx); in __vmx_vcpu_reset() 7063 __vmx_complete_interrupts(&vmx->vcpu, vmx->idt_vectoring_info, in vmx_complete_interrupts() 7267 vmx->fail = 0; in vmx_vcpu_run() 7477 vmx->loaded_vmcs = &vmx->vmcs01; in vmx_vcpu_create() [all …]
|
| A D | nested.c | 336 if (WARN_ON_ONCE(vmx->loaded_vmcs != &vmx->vmcs01)) in free_nested() 339 if (!vmx->nested.vmxon && !vmx->nested.smm.vmxon) in free_nested() 2126 vmx->nested.hv_evmcs = vmx->nested.hv_evmcs_map.hva; in nested_vmx_handle_enlightened_vmptrld() 3568 prepare_vmcs02_early(vmx, &vmx->vmcs01, vmcs12); in nested_vmx_enter_non_root_mode() 4117 if (vmx->nested.pi_pending && vmx->nested.pi_desc && in vmx_has_nested_events() 4537 WARN_ON_ONCE(vmx->loaded_vmcs != &vmx->vmcs01); in copy_vmcs02_to_vmcs12_rare() 4540 vmx->loaded_vmcs = &vmx->nested.vmcs02; in copy_vmcs02_to_vmcs12_rare() 4545 vmx->loaded_vmcs = &vmx->vmcs01; in copy_vmcs02_to_vmcs12_rare() 6667 (vmx->nested.vmxon || vmx->nested.smm.vmxon)) { in vmx_get_nested_state() 6668 kvm_state.hdr.vmx.vmxon_pa = vmx->nested.vmxon_ptr; in vmx_get_nested_state() [all …]
|
| A D | hyperv.h | 25 static inline bool nested_vmx_is_evmptr12_valid(struct vcpu_vmx *vmx) in nested_vmx_is_evmptr12_valid() argument 27 return evmptr_is_valid(vmx->nested.hv_evmcs_vmptr); in nested_vmx_is_evmptr12_valid() 35 static inline bool nested_vmx_is_evmptr12_set(struct vcpu_vmx *vmx) in nested_vmx_is_evmptr12_set() argument 37 return evmptr_is_set(vmx->nested.hv_evmcs_vmptr); in nested_vmx_is_evmptr12_set() 40 static inline struct hv_enlightened_vmcs *nested_vmx_evmcs(struct vcpu_vmx *vmx) in nested_vmx_evmcs() argument 42 return vmx->nested.hv_evmcs; in nested_vmx_evmcs() 69 static inline bool nested_vmx_is_evmptr12_valid(struct vcpu_vmx *vmx) in nested_vmx_is_evmptr12_valid() argument 79 static inline bool nested_vmx_is_evmptr12_set(struct vcpu_vmx *vmx) in nested_vmx_is_evmptr12_set() argument 84 static inline struct hv_enlightened_vmcs *nested_vmx_evmcs(struct vcpu_vmx *vmx) in nested_vmx_evmcs() argument
|
| A D | vmx.h | 351 void vmx_set_constant_host_state(struct vcpu_vmx *vmx); 365 void set_cr4_guest_host_mask(struct vcpu_vmx *vmx); 383 unsigned int __vmx_vcpu_run_flags(struct vcpu_vmx *vmx); 589 if (vmx->loaded_vmcs->controls_shadow.lname != val) { \ 591 vmx->loaded_vmcs->controls_shadow.lname = val; \ 600 return __##lname##_controls_get(vmx->loaded_vmcs); \ 605 lname##_controls_set(vmx, lname##_controls_get(vmx) | val); \ 610 lname##_controls_set(vmx, lname##_controls_get(vmx) & ~val); \ 679 static inline bool vmx_has_waitpkg(struct vcpu_vmx *vmx) in vmx_has_waitpkg() argument 681 return secondary_exec_controls_get(vmx) & in vmx_has_waitpkg() [all …]
|
| A D | nested.h | 81 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_has_valid_vmcs12() local 84 return vmx->nested.current_vmptr != -1ull || in vmx_has_valid_vmcs12() 85 nested_vmx_is_evmptr12_set(vmx); in vmx_has_valid_vmcs12() 90 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_get_vpid02() local 92 return vmx->nested.vpid02 ? vmx->nested.vpid02 : vmx->vpid; in nested_get_vpid02()
|
| A D | hyperv.c | 202 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_enable_evmcs() local 204 vmx->nested.enlightened_vmcs_enabled = true; in nested_enable_evmcs() 215 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_evmcs_l2_tlb_flush_enabled() local 216 struct hv_enlightened_vmcs *evmcs = vmx->nested.hv_evmcs; in nested_evmcs_l2_tlb_flush_enabled()
|
| A D | sgx.c | 300 struct vcpu_vmx *vmx = to_vmx(vcpu); in handle_encls_einit() local 332 vmx->msr_ia32_sgxlepubkeyhash, &trapnr); in handle_encls_einit() 430 struct vcpu_vmx *vmx = to_vmx(vcpu); in vcpu_setup_sgx_lepubkeyhash() local 432 memcpy(vmx->msr_ia32_sgxlepubkeyhash, sgx_pubkey_hash, in vcpu_setup_sgx_lepubkeyhash()
|
| /arch/x86/kvm/ |
| A D | Makefile | 17 kvm-intel-y += vmx/vmx.o vmx/vmenter.o vmx/pmu_intel.o vmx/vmcs12.o \ 18 vmx/nested.o vmx/posted_intr.o vmx/main.o 20 kvm-intel-$(CONFIG_X86_SGX_KVM) += vmx/sgx.o 21 kvm-intel-$(CONFIG_KVM_HYPERV) += vmx/hyperv.o vmx/hyperv_evmcs.o 22 kvm-intel-$(CONFIG_KVM_INTEL_TDX) += vmx/tdx.o 31 kvm-intel-y += vmx/vmx_onhyperv.o vmx/hyperv_evmcs.o 43 $(obj)/vmx/vmenter.o: $(obj)/kvm-asm-offsets.h
|
| /arch/powerpc/crypto/ |
| A D | Makefile | 11 obj-$(CONFIG_CRYPTO_DEV_VMX_ENCRYPT) += vmx-crypto.o 17 vmx-crypto-objs := vmx.o aesp8-ppc.o ghashp8-ppc.o aes.o aes_cbc.o aes_ctr.o aes_xts.o ghash.o
|
| A D | Kconfig | 84 choose 'M' here, this module will be called vmx-crypto.
|
| /arch/x86/virt/ |
| A D | Makefile | 2 obj-y += svm/ vmx/
|
| /arch/x86/events/intel/ |
| A D | pt.h | 43 bool vmx; member
|
| A D | pt.c | 236 pt_pmu.vmx = true; in pt_pmu_hw_init() 1566 if (pt_pmu.vmx) in intel_pt_handle_vmx()
|
| /arch/powerpc/lib/ |
| A D | Makefile | 61 obj64-$(CONFIG_ALTIVEC) += vmx-helper.o
|
| /arch/x86/include/uapi/asm/ |
| A D | kvm.h | 507 struct kvm_vmx_nested_state_hdr vmx; member 520 __DECLARE_FLEX_ARRAY(struct kvm_vmx_nested_state_data, vmx);
|
| /arch/s390/tools/ |
| A D | opcodes.txt | 1085 e7ff vmx VRR_VVV0U
|
Completed in 69 milliseconds