From: Feng Wu Subject: [RFC v1 3/5] KVM: Add pointer to 'struct irq_bypass_produce' in 'kvm_kernel_irqfd' Date: Fri, 10 Jul 2015 11:00:05 +0800 Message-ID: <1436497207-4786-4-git-send-email-feng.wu@intel.com> References: <1436497207-4786-1-git-send-email-feng.wu@intel.com> Cc: alex.williamson@redhat.com, pbonzini@redhat.com, joro@8bytes.org, avi.kivity@gmail.com, eric.auger@linaro.org, feng.wu@intel.com To: kvm@vger.kernel.org Return-path: Received: from mga11.intel.com ([192.55.52.93]:20870 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751346AbbGJDLG (ORCPT ); Thu, 9 Jul 2015 23:11:06 -0400 In-Reply-To: <1436497207-4786-1-git-send-email-feng.wu@intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Add reference to struct irq_bypass_produce so we can get the producer information from the consumer side. Signed-off-by: Feng Wu --- include/linux/kvm_irqfd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/kvm_irqfd.h b/include/linux/kvm_irqfd.h index 3c0bd07..0c1de05 100644 --- a/include/linux/kvm_irqfd.h +++ b/include/linux/kvm_irqfd.h @@ -65,6 +65,7 @@ struct kvm_kernel_irqfd { 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