Home
last modified time | relevance | path

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

/linux-6.6.21/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);
1722 int (*smi_allowed)(struct kvm_vcpu *vcpu, bool for_injection);
/linux-6.6.21/arch/x86/kvm/svm/
Dsvm.c3763 static int svm_nmi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_nmi_allowed() argument
3773 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_nmi(svm)) in svm_nmi_allowed()
3804 static int svm_interrupt_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_interrupt_allowed() argument
3818 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_intr(svm)) in svm_interrupt_allowed()
4588 static int svm_smi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_smi_allowed() argument
4598 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_smi(svm)) in svm_smi_allowed()
/linux-6.6.21/arch/x86/kvm/vmx/
Dvmx.c5039 static int vmx_nmi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in vmx_nmi_allowed() argument
5045 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_nmi(vcpu)) in vmx_nmi_allowed()
5061 static int vmx_interrupt_allowed(struct kvm_vcpu *vcpu, bool for_injection) in vmx_interrupt_allowed() argument
5070 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_intr(vcpu)) in vmx_interrupt_allowed()
8125 static int vmx_smi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in vmx_smi_allowed() argument