summaryrefslogtreecommitdiffstats
path: root/drivers/xen/xenbus/xenbus_comms.h
diff options
context:
space:
mode:
authorAurelien Chartier <aurelien.chartier@citrix.com>2013-05-28 19:09:55 +0200
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2013-05-29 15:04:20 +0200
commit33c1174bae3ea8f420abce53cf8aded778987583 (patch)
tree74a458af2d4b164d6ff8bb2149a23775a12e4411 /drivers/xen/xenbus/xenbus_comms.h
parentxenbus: delay xenbus frontend resume if xenstored is not running (diff)
downloadlinux-33c1174bae3ea8f420abce53cf8aded778987583.tar.xz
linux-33c1174bae3ea8f420abce53cf8aded778987583.zip
xenbus: save xenstore local status for later use
Save the xenstore local status computed in xenbus_init. It can then be used later to check if xenstored is running in this domain. Signed-off-by: Aurelien Chartier <aurelien.chartier@citrix.com> [Changes in v4: - Change variable name to xen_store_domain_type] Reviewed-by: David Vrabel <david.vrabel@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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/xenbus/xenbus_comms.h b/drivers/xen/xenbus/xenbus_comms.h
index c8abd3b8a6c4..e74f9c1fbd80 100644
--- a/drivers/xen/xenbus/xenbus_comms.h
+++ b/drivers/xen/xenbus/xenbus_comms.h
@@ -45,6 +45,7 @@ int xb_wait_for_data_to_read(void);
int xs_input_avail(void);
extern struct xenstore_domain_interface *xen_store_interface;
extern int xen_store_evtchn;
+extern enum xenstore_init xen_store_domain_type;
extern const struct file_operations xen_xenbus_fops;