summaryrefslogtreecommitdiffstats
path: root/include/xen/xenbus_dev.h
diff options
context:
space:
mode:
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>2012-05-08 09:46:57 -0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-05-21 09:53:18 -0400
commitd2fb4c51c7471a23f0a95526b624c14cec62603d (patch)
tree2e905427ff32e1ee835f8240523eb1987a351901 /include/xen/xenbus_dev.h
parent2f1bd67d544d3c086fb5101513f4b6c8f4291b43 (diff)
downloadlinux-d2fb4c51c7471a23f0a95526b624c14cec62603d.tar.gz
linux-d2fb4c51c7471a23f0a95526b624c14cec62603d.tar.bz2
linux-d2fb4c51c7471a23f0a95526b624c14cec62603d.zip
xenbus: Add support for xenbus backend in stub domain
Add an ioctl to the /dev/xen/xenbus_backend device allowing the xenbus backend to be started after the kernel has booted. This allows xenstore to run in a different domain from the dom0. Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/xen/xenbus_dev.h')
-rw-r--r--include/xen/xenbus_dev.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xen/xenbus_dev.h b/include/xen/xenbus_dev.h
index ac5f0fe47ed9..bbee8c6a349d 100644
--- a/include/xen/xenbus_dev.h
+++ b/include/xen/xenbus_dev.h
@@ -38,4 +38,7 @@
#define IOCTL_XENBUS_BACKEND_EVTCHN \
_IOC(_IOC_NONE, 'B', 0, 0)
+#define IOCTL_XENBUS_BACKEND_SETUP \
+ _IOC(_IOC_NONE, 'B', 1, 0)
+
#endif /* __LINUX_XEN_XENBUS_DEV_H__ */