[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 17 of 29 RFC] libxl: add enum with possible hotplug state
# HG changeset patch # User Roger Pau Monne <roger.pau@xxxxxxxxxxxxx> # Date 1328178267 -3600 # Node ID 6a6e7a195412935609c18bc7d52767f41521875b # Parent 88e1905ef078040a1d943ae08186373e2f4d3857 libxl: add enum with possible hotplug state enum describing the possible state of the hotplug device entries in xenstore. Signed-off-by: Roger Pau Monne <roger.pau@xxxxxxxxxxxxx> diff -r 88e1905ef078 -r 6a6e7a195412 tools/libxl/libxl_internal.h --- a/tools/libxl/libxl_internal.h Thu Feb 02 11:21:26 2012 +0100 +++ b/tools/libxl/libxl_internal.h Thu Feb 02 11:24:27 2012 +0100 @@ -351,6 +351,17 @@ typedef enum { DISCONNECT = 2 } libxl__hotplug_action; +/* Possible hotplug state in xenstore */ +typedef enum { + HOTPLUG_DEVICE_ERROR = -1, + HOTPLUG_DEVICE_INIT = 0, + HOTPLUG_DEVICE_CONNECT = 1, + HOTPLUG_DEVICE_CONNECTED = 2, + HOTPLUG_DEVICE_DISCONNECT = 3, + HOTPLUG_DEVICE_DISCONNECTED = 4, + HOTPLUG_DEVICE_FORCE_DISCONNECT = 5, +} libxl__hotplug_status; + /* * libxl__device_hotplug - generic function to execute hotplug scripts * gc: allocation pool _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |