/* SPDX-License-Identifier: MIT */1/*****************************************************************************2* xenbus.h3*4* Xenbus protocol details.5*6* Copyright (C) 2005 XenSource Ltd.7*/89#ifndef _XEN_PUBLIC_IO_XENBUS_H10#define _XEN_PUBLIC_IO_XENBUS_H1112/* The state of either end of the Xenbus, i.e. the current communication13status of initialisation across the bus. States here imply nothing about14the state of the connection between the driver and the kernel's device15layers. */16enum xenbus_state17{18XenbusStateUnknown = 0,19XenbusStateInitialising = 1,20XenbusStateInitWait = 2, /* Finished early21initialisation, but waiting22for information from the peer23or hotplug scripts. */24XenbusStateInitialised = 3, /* Initialised and waiting for a25connection from the peer. */26XenbusStateConnected = 4,27XenbusStateClosing = 5, /* The device is being closed28due to an error or an unplug29event. */30XenbusStateClosed = 6,3132/*33* Reconfiguring: The device is being reconfigured.34*/35XenbusStateReconfiguring = 7,3637XenbusStateReconfigured = 838};3940#endif /* _XEN_PUBLIC_IO_XENBUS_H */414243