Searched refs:vmcs12 (Results 1 – 6 of 6) sorted by relevance
| /linux/arch/x86/kvm/vmx/ |
| H A D | nested.c | 59 #define SHADOW_FIELD_RO(x, y) { x, offsetof(struct vmcs12, y) }, 66 #define SHADOW_FIELD_RW(x, y) { x, offsetof(struct vmcs12, y) }, 416 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in nested_ept_inject_page_fault() local 460 nested_ept_invalidate_addr(vcpu, vmcs12->ept_pointer, in nested_ept_inject_page_fault() 465 vmcs12->guest_physical_address = fault->address; in nested_ept_inject_page_fault() 498 static bool nested_vmx_is_page_fault_vmexit(struct vmcs12 *vmcs12, in nested_vmx_is_page_fault_vmexit() argument 503 bit = (vmcs12->exception_bitmap & (1u << PF_VECTOR)) != 0; in nested_vmx_is_page_fault_vmexit() 505 (error_code & vmcs12->page_fault_error_code_mask) != in nested_vmx_is_page_fault_vmexit() 506 vmcs12->page_fault_error_code_match; in nested_vmx_is_page_fault_vmexit() 513 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in nested_vmx_is_exception_vmexit() local [all …]
|
| H A D | sgx.h | 18 void vmx_write_encls_bitmap(struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12); 26 struct vmcs12 *vmcs12) in vmx_write_encls_bitmap() argument
|
| H A D | vmx.c | 1890 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in vmx_update_emulated_instruction() local 1907 if (nested_cpu_has_mtf(vmcs12) && in vmx_update_emulated_instruction() 2040 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in vmx_get_l2_tsc_offset() local 2042 if (nested_cpu_has(vmcs12, CPU_BASED_USE_TSC_OFFSETTING)) in vmx_get_l2_tsc_offset() 2043 return vmcs12->tsc_offset; in vmx_get_l2_tsc_offset() 2050 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in vmx_get_l2_tsc_multiplier() local 2052 if (nested_cpu_has(vmcs12, CPU_BASED_USE_TSC_OFFSETTING) && in vmx_get_l2_tsc_multiplier() 2053 nested_cpu_has2(vmcs12, SECONDARY_EXEC_TSC_SCALING)) in vmx_get_l2_tsc_multiplier() 2054 return vmcs12->tsc_multiplier; in vmx_get_l2_tsc_multiplier() 5689 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in handle_set_cr0() local [all …]
|
| /linux/Documentation/virt/kvm/x86/ |
| H A D | nested-vmx.rst | 71 internals of this structure; This is struct vmcs12 from arch/x86/kvm/vmx.c. 73 The name "vmcs12" refers to the VMCS that L1 builds for L2. In the code we 78 For convenience, we repeat the content of struct vmcs12 here. If the internals 80 VMCS12_REVISION (from vmx.c) should be changed if struct vmcs12 or its inner 86 struct __packed vmcs12 {
|
| /linux/tools/arch/x86/include/uapi/asm/ |
| H A D | kvm.h | 508 __u8 vmcs12[KVM_STATE_NESTED_VMX_VMCS_SIZE]; member
|
| /linux/Documentation/virt/kvm/ |
| H A D | api.rst | 4964 __u8 vmcs12[KVM_STATE_NESTED_VMX_VMCS_SIZE];
|