From: Feng Wu Subject: [v5 12/19] KVM: eventfd: add irq bypass information in irqfd Date: Mon, 13 Jul 2015 17:47:28 +0800 Message-ID: <1436780855-3617-13-git-send-email-feng.wu@intel.com> References: <1436780855-3617-1-git-send-email-feng.wu@intel.com> Cc: pbonzini@redhat.com, alex.williamson@redhat.com, joro@8bytes.org, eric.auger@linaro.org, feng.wu@intel.com To: kvm@vger.kernel.org, linux-kernel@vger.kernel.org Return-path: In-Reply-To: <1436780855-3617-1-git-send-email-feng.wu@intel.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org From: Eric Auger This patch adds the following new members in 'struct kvm_kernel_irqfd' - struct irq_bypass_consumer consumer - struct irq_bypass_producer *producer Signed-off-by: Eric Auger Signed-off-by: Feng Wu --- include/linux/kvm_irqfd.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/kvm_irqfd.h b/include/linux/kvm_irqfd.h index f926b39..cf9aad4 100644 --- a/include/linux/kvm_irqfd.h +++ b/include/linux/kvm_irqfd.h @@ -17,6 +17,7 @@ #include #include +#include /* * Resampling irqfds are a special variety of irqfds used to emulate @@ -64,6 +65,8 @@ struct kvm_kernel_irqfd { struct list_head list; poll_table pt; struct work_struct shutdown; + struct irq_bypass_consumer consumer; + struct irq_bypass_producer *producer; }; #endif /* __LINUX_KVM_IRQFD_H */ -- 2.1.0