Home
last modified time | relevance | path

Searched refs:for_injection (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/arch/x86/include/asm/
Dkvm_host.h1637 int (*interrupt_allowed)(struct kvm_vcpu *vcpu, bool for_injection);
1638 int (*nmi_allowed)(struct kvm_vcpu *vcpu, bool for_injection);
1721 int (*smi_allowed)(struct kvm_vcpu *vcpu, bool for_injection);
/Linux-v6.6/arch/x86/kvm/svm/
Dsvm.c3761 static int svm_nmi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_nmi_allowed() argument
3771 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_nmi(svm)) in svm_nmi_allowed()
3802 static int svm_interrupt_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_interrupt_allowed() argument
3816 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_intr(svm)) in svm_interrupt_allowed()
4586 static int svm_smi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_smi_allowed() argument
4596 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_smi(svm)) in svm_smi_allowed()
/Linux-v6.6/arch/x86/kvm/vmx/
Dvmx.c5030 static int vmx_nmi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in vmx_nmi_allowed() argument
5036 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_nmi(vcpu)) in vmx_nmi_allowed()
5052 static int vmx_interrupt_allowed(struct kvm_vcpu *vcpu, bool for_injection) in vmx_interrupt_allowed() argument
5061 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_intr(vcpu)) in vmx_interrupt_allowed()
8113 static int vmx_smi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in vmx_smi_allowed() argument