Home
last modified time | relevance | path

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

/Linux-v5.15/arch/x86/include/asm/
Dkvm_host.h1377 int (*interrupt_allowed)(struct kvm_vcpu *vcpu, bool for_injection);
1378 int (*nmi_allowed)(struct kvm_vcpu *vcpu, bool for_injection);
1463 int (*smi_allowed)(struct kvm_vcpu *vcpu, bool for_injection);
/Linux-v5.15/arch/x86/kvm/svm/
Dsvm.c3447 static int svm_nmi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_nmi_allowed() argument
3454 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_nmi(svm)) in svm_nmi_allowed()
3513 static int svm_interrupt_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_interrupt_allowed() argument
3523 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_intr(svm)) in svm_interrupt_allowed()
4275 static int svm_smi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_smi_allowed() argument
4282 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_smi(svm)) in svm_smi_allowed()
/Linux-v5.15/arch/x86/kvm/vmx/
Dvmx.c4614 static int vmx_nmi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in vmx_nmi_allowed() argument
4620 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_nmi(vcpu)) in vmx_nmi_allowed()
4636 static int vmx_interrupt_allowed(struct kvm_vcpu *vcpu, bool for_injection) in vmx_interrupt_allowed() argument
4645 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_intr(vcpu)) in vmx_interrupt_allowed()
7490 static int vmx_smi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in vmx_smi_allowed() argument