|
@@ -24,6 +24,7 @@
|
|
#include <linux/err.h>
|
|
#include <linux/err.h>
|
|
#include <linux/irqflags.h>
|
|
#include <linux/irqflags.h>
|
|
#include <linux/context_tracking.h>
|
|
#include <linux/context_tracking.h>
|
|
|
|
+#include <linux/irqbypass.h>
|
|
#include <asm/signal.h>
|
|
#include <asm/signal.h>
|
|
|
|
|
|
#include <linux/kvm.h>
|
|
#include <linux/kvm.h>
|
|
@@ -1163,4 +1164,13 @@ static inline void kvm_vcpu_set_dy_eligible(struct kvm_vcpu *vcpu, bool val)
|
|
{
|
|
{
|
|
}
|
|
}
|
|
#endif /* CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT */
|
|
#endif /* CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT */
|
|
|
|
+
|
|
|
|
+#ifdef CONFIG_HAVE_KVM_IRQ_BYPASS
|
|
|
|
+int kvm_arch_irq_bypass_add_producer(struct irq_bypass_consumer *,
|
|
|
|
+ struct irq_bypass_producer *);
|
|
|
|
+void kvm_arch_irq_bypass_del_producer(struct irq_bypass_consumer *,
|
|
|
|
+ struct irq_bypass_producer *);
|
|
|
|
+void kvm_arch_irq_bypass_stop(struct irq_bypass_consumer *);
|
|
|
|
+void kvm_arch_irq_bypass_start(struct irq_bypass_consumer *);
|
|
|
|
+#endif /* CONFIG_HAVE_KVM_IRQ_BYPASS */
|
|
#endif
|
|
#endif
|