Searched refs:vmcs_config (Results 1 – 6 of 6) sorted by relevance
49 struct vmcs_config { struct61 extern struct vmcs_config vmcs_config; argument71 return (((u64)vmcs_config.basic_cap << 32) & VMX_BASIC_INOUT); in cpu_has_vmx_basic_inout()76 return vmcs_config.pin_based_exec_ctrl & PIN_BASED_VIRTUAL_NMIS; in cpu_has_virtual_nmis()81 return vmcs_config.pin_based_exec_ctrl & in cpu_has_vmx_preemption_timer()88 vmcs_config.pin_based_exec_ctrl & PIN_BASED_POSTED_INTR; in cpu_has_vmx_posted_intr()93 return (vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_EFER) && in cpu_has_load_ia32_efer()94 (vmcs_config.vmexit_ctrl & VM_EXIT_LOAD_IA32_EFER); in cpu_has_load_ia32_efer()99 return (vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_PERF_GLOBAL_CTRL) && in cpu_has_load_perf_global_ctrl()100 (vmcs_config.vmexit_ctrl & VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL); in cpu_has_load_perf_global_ctrl()[all …]
14 struct vmcs_config;187 void evmcs_sanitize_exec_ctrls(struct vmcs_config *vmcs_conf);196 static inline void evmcs_sanitize_exec_ctrls(struct vmcs_config *vmcs_conf) {} in evmcs_sanitize_exec_ctrls()
437 u32 vmentry_ctrl = vmcs_config.vmentry_ctrl; in vmx_vmentry_ctrl()448 u32 vmexit_ctrl = vmcs_config.vmexit_ctrl; in vmx_vmexit_ctrl()
411 struct vmcs_config vmcs_config; variable1752 return vmx_get_vmx_msr(&vmcs_config.nested, msr->index, &msr->data); in vmx_get_msr_feature()2039 if (vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_PAT) { in vmx_set_msr()2333 static __init int setup_vmcs_config(struct vmcs_config *vmcs_conf, in setup_vmcs_config()2536 pages = __alloc_pages_node(node, flags, vmcs_config.order); in alloc_vmcs_cpu()2540 memset(vmcs, 0, vmcs_config.size); in alloc_vmcs_cpu()2546 vmcs->hdr.revision_id = vmcs_config.revision_id; in alloc_vmcs_cpu()2555 free_pages((unsigned long)vmcs, vmcs_config.order); in free_vmcs()2645 vmcs->hdr.revision_id = vmcs_config.revision_id; in alloc_kvm_area()3925 if (vmcs_config.vmexit_ctrl & VM_EXIT_LOAD_IA32_PAT) { in vmx_set_constant_host_state()[all …]
306 void evmcs_sanitize_exec_ctrls(struct vmcs_config *vmcs_conf) in evmcs_sanitize_exec_ctrls()
2346 } else if (vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_PAT) { in prepare_vmcs02()