Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/include/asm/
H A Dkvm_host.h1638 int (*interrupt_allowed)(struct kvm_vcpu *vcpu, bool for_injection);
1639 int (*nmi_allowed)(struct kvm_vcpu *vcpu, bool for_injection);
1723 int (*smi_allowed)(struct kvm_vcpu *vcpu, bool for_injection);
1761 bool (*has_events)(struct kvm_vcpu *vcpu, bool for_injection);
/openbmc/linux/arch/x86/kvm/svm/
H A Dsvm.c3782 static int svm_nmi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_nmi_allowed() argument
3792 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_nmi(svm)) in svm_nmi_allowed()
3823 static int svm_interrupt_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_interrupt_allowed() argument
3837 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_intr(svm)) in svm_interrupt_allowed()
4618 static int svm_smi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_smi_allowed() argument
4628 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_smi(svm)) in svm_smi_allowed()
/openbmc/linux/arch/x86/kvm/vmx/
H A Dvmx.c5041 static int vmx_nmi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in vmx_nmi_allowed() argument
5047 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_nmi(vcpu)) in vmx_nmi_allowed()
5068 static int vmx_interrupt_allowed(struct kvm_vcpu *vcpu, bool for_injection) in vmx_interrupt_allowed() argument
5077 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_intr(vcpu)) in vmx_interrupt_allowed()
8152 static int vmx_smi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in vmx_smi_allowed() argument
H A Dnested.c3966 static bool vmx_has_nested_events(struct kvm_vcpu *vcpu, bool for_injection) in vmx_has_nested_events() argument
3982 if (for_injection) in vmx_has_nested_events()