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>
This commit is contained in:
parent
2f1bd67d54
commit
d2fb4c51c7
5 changed files with 63 additions and 0 deletions
|
@ -46,6 +46,8 @@
|
|||
|
||||
#include <xen/features.h>
|
||||
|
||||
#define GNTTAB_RESERVED_XENSTORE 1
|
||||
|
||||
/* NR_GRANT_FRAMES must be less than or equal to that configured in Xen */
|
||||
#define NR_GRANT_FRAMES 4
|
||||
|
||||
|
|
|
@ -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__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue