Skip to contentSkip to conversation

Add new states to xenbus_strstate()

PATCH New Noboru Iwamatsu 1 participant 1 message Mar 17, 2009 Xen hypervisor interface

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add new states to xenbus_strstate()

Hi,

This patch adds the following states to the xenbus_strstate().
- XenbusStateReconfiguring
- XenbusStateReconfigured

It's a trivial patch, but useful for debugging around the xenbus.

Thanks,

Noboru

drivers/xen/xenbus/xenbus_client.c +2 -0
diff -r 51decc39e5e7 -r 9ef2e8c6cf3d drivers/xen/xenbus/xenbus_client.c
@@ -53,6 +53,8 @@
 		[ XenbusStateConnected    ] = "Connected",
 		[ XenbusStateClosing      ] = "Closing",
 		[ XenbusStateClosed	  ] = "Closed",
+		[ XenbusStateReconfiguring ] = "Reconfiguring",
+		[ XenbusStateReconfigured ] = "Reconfigured",
 	};
 	return (state < ARRAY_SIZE(name)) ? name[state] : "INVALID";
 }

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel