[RFC,v1,3/5] KVM: Add pointer to 'struct irq_bypass_produce' in 'kvm_kernel_irqfd'
diff mbox

Message ID 1436497207-4786-4-git-send-email-feng.wu@intel.com
State New
Headers show

Commit Message

Wu, Feng July 10, 2015, 3 a.m. UTC
Add reference to struct irq_bypass_produce so we can get the producer
information from the consumer side.

Signed-off-by: Feng Wu <feng.wu@intel.com>
---
 include/linux/kvm_irqfd.h | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox

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 */