1 /*****************************************************************************
4 * Xenbus protocol details.
6 * Copyright (C) 2005 XenSource Ltd.
9 #ifndef _XEN_PUBLIC_IO_XENBUS_H
10 #define _XEN_PUBLIC_IO_XENBUS_H
13 * The state of either end of the Xenbus, i.e. the current communication
14 * status of initialisation across the bus. States here imply nothing about
15 * the state of the connection between the driver and the kernel's device
19 XenbusStateUnknown = 0,
21 XenbusStateInitialising = 1,
24 * InitWait: Finished early initialisation but waiting for information
25 * from the peer or hotplug scripts.
27 XenbusStateInitWait = 2,
30 * Initialised: Waiting for a connection from the peer.
32 XenbusStateInitialised = 3,
34 XenbusStateConnected = 4,
37 * Closing: The device is being closed due to an error or an unplug event.
39 XenbusStateClosing = 5,
43 typedef enum xenbus_state XenbusState;
45 #endif /* _XEN_PUBLIC_IO_XENBUS_H */