[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1436780855-3617-13-git-send-email-feng.wu@intel.com>
Date: Mon, 13 Jul 2015 17:47:28 +0800
From: Feng Wu <feng.wu@...el.com>
To: kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: pbonzini@...hat.com, alex.williamson@...hat.com, joro@...tes.org,
eric.auger@...aro.org, feng.wu@...el.com
Subject: [v5 12/19] KVM: eventfd: add irq bypass information in irqfd
From: Eric Auger <eric.auger@...aro.org>
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 <eric.auger@...aro.org>
Signed-off-by: Feng Wu <feng.wu@...el.com>
---
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 <linux/kvm_host.h>
#include <linux/poll.h>
+#include <linux/irqbypass.h>
/*
* 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists