Home
last modified time | relevance | path

Searched refs:guest_can_use (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.6/arch/x86/kvm/svm/
Dnested.c110 if (!guest_can_use(&svm->vcpu, X86_FEATURE_V_VMSAVE_VMLOAD)) in nested_vmcb_needs_vls_intercept()
606 if (unlikely(guest_can_use(vcpu, X86_FEATURE_LBRV) && in nested_vmcb02_prepare_save()
663 if (guest_can_use(vcpu, X86_FEATURE_VGIF) && in nested_vmcb02_prepare_control()
701 if (guest_can_use(vcpu, X86_FEATURE_TSCRATEMSR) && in nested_vmcb02_prepare_control()
722 if (guest_can_use(vcpu, X86_FEATURE_NRIPS)) in nested_vmcb02_prepare_control()
732 if (guest_can_use(vcpu, X86_FEATURE_NRIPS)) in nested_vmcb02_prepare_control()
740 if (guest_can_use(vcpu, X86_FEATURE_LBRV)) in nested_vmcb02_prepare_control()
747 if (guest_can_use(vcpu, X86_FEATURE_PAUSEFILTER)) in nested_vmcb02_prepare_control()
751 if (guest_can_use(vcpu, X86_FEATURE_PFTHRESHOLD)) in nested_vmcb02_prepare_control()
1038 if (guest_can_use(vcpu, X86_FEATURE_NRIPS)) in nested_svm_vmexit()
[all …]
Dsvm.h446 return guest_can_use(&svm->vcpu, X86_FEATURE_VGIF) && in nested_vgif_enabled()
498 return guest_can_use(&svm->vcpu, X86_FEATURE_VNMI) && in nested_vnmi_enabled()
Dsvm.c1059 (is_guest_mode(vcpu) && guest_can_use(vcpu, X86_FEATURE_LBRV) && in svm_update_lbrv()
2849 !guest_can_use(vcpu, X86_FEATURE_TSCRATEMSR)) in svm_get_msr()
2999 if (!guest_can_use(vcpu, X86_FEATURE_TSCRATEMSR)) { in svm_set_msr()
3021 if (guest_can_use(vcpu, X86_FEATURE_TSCRATEMSR) && in svm_set_msr()
/Linux-v6.6/arch/x86/kvm/
Dcpuid.h272 static __always_inline bool guest_can_use(struct kvm_vcpu *vcpu, in guest_can_use() function
Dx86.c1028 if (guest_can_use(vcpu, X86_FEATURE_XSAVES) && in kvm_load_guest_xsave_state()
1059 if (guest_can_use(vcpu, X86_FEATURE_XSAVES) && in kvm_load_host_xsave_state()
/Linux-v6.6/arch/x86/kvm/vmx/
Dvmx.c2053 if (!guest_can_use(vcpu, X86_FEATURE_VMX)) in vmx_get_msr()
2361 if (!guest_can_use(vcpu, X86_FEATURE_VMX)) in vmx_set_msr()
4570 __enabled = guest_can_use(__vcpu, X86_FEATURE_##feat_name); \
7773 if (guest_can_use(vcpu, X86_FEATURE_VMX)) in vmx_vcpu_after_set_cpuid()
7782 if (guest_can_use(vcpu, X86_FEATURE_VMX)) in vmx_vcpu_after_set_cpuid()
Dnested.c6429 if (guest_can_use(vcpu, X86_FEATURE_VMX) && in vmx_get_nested_state()
6570 if (!guest_can_use(vcpu, X86_FEATURE_VMX)) in vmx_set_nested_state()
6604 (!guest_can_use(vcpu, X86_FEATURE_VMX) || in vmx_set_nested_state()
/Linux-v6.6/arch/x86/kvm/mmu/
Dmmu.c4789 guest_can_use(vcpu, X86_FEATURE_GBPAGES), in reset_guest_rsvds_bits_mask()
4866 guest_can_use(vcpu, X86_FEATURE_GBPAGES), in reset_shadow_zero_bits_mask()