Home
last modified time | relevance | path

Searched refs:guest_cr4 (Results 1 – 11 of 11) sorted by relevance

/linux/tools/testing/selftests/kvm/x86/
H A Dvmx_nested_la57_state_test.c32 u64 guest_cr4; in l1_guest_code() local
58 guest_cr4 = vmreadz(GUEST_CR4); in l1_guest_code()
59 guest_cr4 &= ~X86_CR4_LA57; in l1_guest_code()
60 vmwrite(GUEST_CR4, guest_cr4); in l1_guest_code()
/linux/arch/x86/kvm/vmx/
H A Dvmcs_shadow_fields.h66 SHADOW_FIELD_RW(GUEST_CR4, guest_cr4)
H A Dvmcs12.h90 natural_width guest_cr4; member
273 CHECK_OFFSET(guest_cr4, 440); in vmx_check_vmcs12_offsets()
H A Dnested.h119 return (fields->guest_cr4 & ~fields->cr4_guest_host_mask) | in nested_read_cr4()
H A Dhyperv_evmcs.c105 EVMCS1_FIELD(GUEST_CR4, guest_cr4,
H A Dvmcs12.c124 FIELD(GUEST_CR4, guest_cr4),
H A Dnested.c1849 vmcs12->guest_cr4 = evmcs->guest_cr4; in copy_enlightened_to_vmcs12()
2076 evmcs->guest_cr4 = vmcs12->guest_cr4; in copy_vmcs12_to_enlightened()
2459 if (vmx_umip_emulated() && (vmcs12->guest_cr4 & X86_CR4_UMIP)) in prepare_vmcs02_early()
2784 vmx_set_cr4(vcpu, vmcs12->guest_cr4); in prepare_vmcs02()
3297 CC(!nested_guest_cr4_valid(vcpu, vmcs12->guest_cr4))) in nested_vmx_check_guest_state()
3300 if (CC(vmcs12->guest_cr4 & X86_CR4_CET && !(vmcs12->guest_cr0 & X86_CR0_WP))) in nested_vmx_check_guest_state()
3339 if (CC(ia32e && !(vmcs12->guest_cr4 & X86_CR4_PAE)) || in nested_vmx_check_guest_state()
3935 /*2*/ (vmcs12->guest_cr4 & vmcs12->cr4_guest_host_mask) | in vmcs12_guest_cr4()
4639 vmcs12->guest_cr4 = vmcs12_guest_cr4(vcpu, vmcs12); in sync_vmcs02_to_vmcs12()
H A Dvmx.c5720 (vmcs12->guest_cr4 & vmcs12->cr4_guest_host_mask); in handle_set_cr4()
/linux/include/hyperv/
H A Dhvgdk.h152 u64 guest_cr4; member
/linux/tools/testing/selftests/kvm/include/x86/
H A Devmcs.h140 u64 guest_cr4; member
409 *value = current_evmcs->guest_cr4; in evmcs_vmread()
851 current_evmcs->guest_cr4 = value; in evmcs_vmwrite()
/linux/Documentation/virt/kvm/x86/
H A Dnested-vmx.rst126 natural_width guest_cr4;