summaryrefslogtreecommitdiff
path: root/drivers/xen/xenbus/xenbus_probe.h
diff options
context:
space:
mode:
authorAurelien Chartier <aurelien.chartier@citrix.com>2013-05-28 17:09:55 (GMT)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2013-05-29 13:04:20 (GMT)
commit33c1174bae3ea8f420abce53cf8aded778987583 (patch)
tree74a458af2d4b164d6ff8bb2149a23775a12e4411 /drivers/xen/xenbus/xenbus_probe.h
parent2abb274629614bef4044a0b98ada42e977feadfd (diff)
downloadlinux-33c1174bae3ea8f420abce53cf8aded778987583.tar.xz
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_probe.h')
-rw-r--r--drivers/xen/xenbus/xenbus_probe.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/xen/xenbus/xenbus_probe.h b/drivers/xen/xenbus/xenbus_probe.h
index bb4f92e..146f857 100644
--- a/drivers/xen/xenbus/xenbus_probe.h
+++ b/drivers/xen/xenbus/xenbus_probe.h
@@ -47,6 +47,13 @@ struct xen_bus_type {
struct bus_type bus;
};
+enum xenstore_init {
+ XS_UNKNOWN,
+ XS_PV,
+ XS_HVM,
+ XS_LOCAL,
+};
+
extern struct device_attribute xenbus_dev_attrs[];
extern int xenbus_match(struct device *_dev, struct device_driver *_drv);