summaryrefslogtreecommitdiffstats
path: root/drivers/xen/xenbus/xenbus_comms.h
diff options
context:
space:
mode:
authorBastian Blank2011-12-10 19:29:47 +0100
committerKonrad Rzeszutek Wilk2011-12-16 19:29:39 +0100
commit2fb3683e7b164ee2b324039f7c9d90fe5b1a259b (patch)
tree7ac2e97b48e0940340c37aae4d08a6b67f1e4fd5 /drivers/xen/xenbus/xenbus_comms.h
parentxen: Add privcmd device driver (diff)
downloadkernel-qcow2-linux-2fb3683e7b164ee2b324039f7c9d90fe5b1a259b.tar.gz
kernel-qcow2-linux-2fb3683e7b164ee2b324039f7c9d90fe5b1a259b.tar.xz
kernel-qcow2-linux-2fb3683e7b164ee2b324039f7c9d90fe5b1a259b.zip
xen: Add xenbus device driver
Access to xenbus is currently handled via xenfs. This adds a device driver for xenbus and makes xenfs use this code. Signed-off-by: Bastian Blank <waldi@debian.org> Acked-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen/xenbus/xenbus_comms.h')
-rw-r--r--drivers/xen/xenbus/xenbus_comms.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/xen/xenbus/xenbus_comms.h b/drivers/xen/xenbus/xenbus_comms.h
index c21db7513736..6e42800fa499 100644
--- a/drivers/xen/xenbus/xenbus_comms.h
+++ b/drivers/xen/xenbus/xenbus_comms.h
@@ -31,6 +31,8 @@
#ifndef _XENBUS_COMMS_H
#define _XENBUS_COMMS_H
+#include <linux/fs.h>
+
int xs_init(void);
int xb_init_comms(void);
@@ -43,4 +45,6 @@ int xs_input_avail(void);
extern struct xenstore_domain_interface *xen_store_interface;
extern int xen_store_evtchn;
+extern const struct file_operations xen_xenbus_fops;
+
#endif /* _XENBUS_COMMS_H */