1 /* SPDX-License-Identifier: MIT */
2 /*****************************************************************************
5 * Xenbus protocol details.
7 * Copyright (C) 2005 XenSource Ltd.
10 #ifndef _XEN_PUBLIC_IO_XENBUS_H
11 #define _XEN_PUBLIC_IO_XENBUS_H
14 * The state of either end of the Xenbus, i.e. the current communication
15 * status of initialisation across the bus. States here imply nothing about
16 * the state of the connection between the driver and the kernel's device
20 XenbusStateUnknown
= 0,
22 XenbusStateInitialising
= 1,
25 * InitWait: Finished early initialisation but waiting for information
26 * from the peer or hotplug scripts.
28 XenbusStateInitWait
= 2,
31 * Initialised: Waiting for a connection from the peer.
33 XenbusStateInitialised
= 3,
35 XenbusStateConnected
= 4,
38 * Closing: The device is being closed due to an error or an unplug event.
40 XenbusStateClosing
= 5,
42 XenbusStateClosed
= 6,
45 * Reconfiguring: The device is being reconfigured.
47 XenbusStateReconfiguring
= 7,
49 XenbusStateReconfigured
= 8
51 typedef enum xenbus_state XenbusState
;
53 #endif /* _XEN_PUBLIC_IO_XENBUS_H */
61 * indent-tabs-mode: nil