Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/include/asm/
Dkvm_host.h1163 int (*interrupt_allowed)(struct kvm_vcpu *vcpu, bool for_injection);
1164 int (*nmi_allowed)(struct kvm_vcpu *vcpu, bool for_injection);
1265 int (*smi_allowed)(struct kvm_vcpu *vcpu, bool for_injection);
/Linux-v5.10/arch/x86/kvm/svm/
Dsvm.c3216 static int svm_nmi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_nmi_allowed() argument
3223 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_nmi(svm)) in svm_nmi_allowed()
3275 static int svm_interrupt_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_interrupt_allowed() argument
3285 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_intr(svm)) in svm_interrupt_allowed()
4002 static int svm_smi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_smi_allowed() argument
4009 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_smi(svm)) in svm_smi_allowed()
/Linux-v5.10/arch/x86/kvm/vmx/
Dvmx.c4602 static int vmx_nmi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in vmx_nmi_allowed() argument
4608 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_nmi(vcpu)) in vmx_nmi_allowed()
4624 static int vmx_interrupt_allowed(struct kvm_vcpu *vcpu, bool for_injection) in vmx_interrupt_allowed() argument
4633 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_intr(vcpu)) in vmx_interrupt_allowed()
7512 static int vmx_smi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in vmx_smi_allowed() argument