All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add new states to xenbus_strstate()
@ 2009-03-17  6:07 Noboru Iwamatsu
  0 siblings, 0 replies; only message in thread
From: Noboru Iwamatsu @ 2009-03-17  6:07 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 265 bytes --]

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

Signed-off-by: Noboru Iwamatsu <n_iwamatsu@jp.fujitsu.com>

[-- Attachment #2: xenbus_strstate.patch --]
[-- Type: text/plain, Size: 534 bytes --]

diff -r 51decc39e5e7 -r 9ef2e8c6cf3d drivers/xen/xenbus/xenbus_client.c
--- a/drivers/xen/xenbus/xenbus_client.c	Wed Jan 28 13:42:09 2009 +0000
+++ b/drivers/xen/xenbus/xenbus_client.c	Mon Mar 16 18:41:12 2009 +0900
@@ -53,6 +53,8 @@
 		[ XenbusStateConnected    ] = "Connected",
 		[ XenbusStateClosing      ] = "Closing",
 		[ XenbusStateClosed	  ] = "Closed",
+		[ XenbusStateReconfiguring ] = "Reconfiguring",
+		[ XenbusStateReconfigured ] = "Reconfigured",
 	};
 	return (state < ARRAY_SIZE(name)) ? name[state] : "INVALID";
 }

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-17  6:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-17  6:07 [PATCH] Add new states to xenbus_strstate() Noboru Iwamatsu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.