Path: blob/master/include/xen/interface/io/xenbus.h
10818 views
/*****************************************************************************1* xenbus.h2*3* Xenbus protocol details.4*5* Copyright (C) 2005 XenSource Ltd.6*/78#ifndef _XEN_PUBLIC_IO_XENBUS_H9#define _XEN_PUBLIC_IO_XENBUS_H1011/* The state of either end of the Xenbus, i.e. the current communication12status of initialisation across the bus. States here imply nothing about13the state of the connection between the driver and the kernel's device14layers. */15enum xenbus_state16{17XenbusStateUnknown = 0,18XenbusStateInitialising = 1,19XenbusStateInitWait = 2, /* Finished early20initialisation, but waiting21for information from the peer22or hotplug scripts. */23XenbusStateInitialised = 3, /* Initialised and waiting for a24connection from the peer. */25XenbusStateConnected = 4,26XenbusStateClosing = 5, /* The device is being closed27due to an error or an unplug28event. */29XenbusStateClosed = 6,3031/*32* Reconfiguring: The device is being reconfigured.33*/34XenbusStateReconfiguring = 7,3536XenbusStateReconfigured = 837};3839#endif /* _XEN_PUBLIC_IO_XENBUS_H */4041/*42* Local variables:43* c-file-style: "linux"44* indent-tabs-mode: t45* c-indent-level: 846* c-basic-offset: 847* tab-width: 848* End:49*/505152