[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] xenbus: Add new states to xenbus_strstate()



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1237300051 0
# Node ID 6669e480cb59e70767d835bbd0294ed5266692a9
# Parent  8b86d11a6eb39550304ab118dcade4902927a1c8
xenbus: Add new states to xenbus_strstate()

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

Signed-off-by: Noboru Iwamatsu <n_iwamatsu@xxxxxxxxxxxxxx>
---
 drivers/xen/xenbus/xenbus_client.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 8b86d11a6eb3 -r 6669e480cb59 drivers/xen/xenbus/xenbus_client.c
--- a/drivers/xen/xenbus/xenbus_client.c        Tue Mar 17 14:21:51 2009 +0000
+++ b/drivers/xen/xenbus/xenbus_client.c        Tue Mar 17 14:27:31 2009 +0000
@@ -53,6 +53,8 @@ const char *xenbus_strstate(enum xenbus_
                [ XenbusStateConnected    ] = "Connected",
                [ XenbusStateClosing      ] = "Closing",
                [ XenbusStateClosed       ] = "Closed",
+               [ XenbusStateReconfiguring ] = "Reconfiguring",
+               [ XenbusStateReconfigured ] = "Reconfigured",
        };
        return (state < ARRAY_SIZE(name)) ? name[state] : "INVALID";
 }

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.