]>
git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Include/IndustryStandard/Xen/io/xenbus.h
1 /*****************************************************************************
4 * Xenbus protocol details.
6 * SPDX-License-Identifier: MIT
8 * Copyright (C) 2005 XenSource Ltd.
11 #ifndef _XEN_PUBLIC_IO_XENBUS_H
12 #define _XEN_PUBLIC_IO_XENBUS_H
15 * The state of either end of the Xenbus, i.e. the current communication
16 * status of initialisation across the bus. States here imply nothing about
17 * the state of the connection between the driver and the kernel's device
21 XenbusStateUnknown
= 0,
23 XenbusStateInitialising
= 1,
26 * InitWait: Finished early initialisation but waiting for information
27 * from the peer or hotplug scripts.
29 XenbusStateInitWait
= 2,
32 * Initialised: Waiting for a connection from the peer.
34 XenbusStateInitialised
= 3,
36 XenbusStateConnected
= 4,
39 * Closing: The device is being closed due to an error or an unplug event.
41 XenbusStateClosing
= 5,
43 XenbusStateClosed
= 6,
46 * Reconfiguring: The device is being reconfigured.
48 XenbusStateReconfiguring
= 7,
50 XenbusStateReconfigured
= 8
53 typedef enum xenbus_state XenbusState
;
55 #endif /* _XEN_PUBLIC_IO_XENBUS_H */
63 * indent-tabs-mode: nil