Home
last modified time | relevance | path

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

/linux/arch/x86/kvm/vmx/
H A Dx86_ops.h35 int vmx_smi_allowed(struct kvm_vcpu *vcpu, bool for_injection);
93 int vmx_interrupt_allowed(struct kvm_vcpu *vcpu, bool for_injection);
94 int vmx_nmi_allowed(struct kvm_vcpu *vcpu, bool for_injection);
H A Dnested.c4157 static bool vmx_has_nested_events(struct kvm_vcpu *vcpu, bool for_injection) in vmx_has_nested_events() argument
4173 if (for_injection) in vmx_has_nested_events()
/linux/arch/x86/include/asm/
H A Dkvm_host.h1861 int (*interrupt_allowed)(struct kvm_vcpu *vcpu, bool for_injection);
1862 int (*nmi_allowed)(struct kvm_vcpu *vcpu, bool for_injection);
1956 int (*smi_allowed)(struct kvm_vcpu *vcpu, bool for_injection);
2003 bool (*has_events)(struct kvm_vcpu *vcpu, bool for_injection);
/linux/arch/x86/kvm/svm/
H A Dsvm.c3961 static int svm_nmi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_nmi_allowed() argument
3971 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_nmi(svm)) in svm_nmi_allowed()
4002 static int svm_interrupt_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_interrupt_allowed() argument
4016 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_intr(svm)) in svm_interrupt_allowed()
4912 static int svm_smi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_smi_allowed() argument
4922 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_smi(svm)) in svm_smi_allowed()