]>
Commit | Line | Data |
---|---|---|
00e5a55c BS |
1 | From: http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/6669e480cb59 |
2 | # HG changeset 821 patch | |
3 | # User Keir Fraser <keir.fraser@citrix.com> | |
4 | # Date 1237300051 0 | |
5 | # Node ID 6669e480cb59e70767d835bbd0294ed5266692a9 | |
6 | # Parent 8b86d11a6eb39550304ab118dcade4902927a1c8 | |
7 | Subject: xenbus: Add new states to xenbus_strstate() | |
8 | ||
9 | This patch adds the following states to the xenbus_strstate(). | |
10 | - XenbusStateReconfiguring | |
11 | - XenbusStateReconfigured | |
12 | ||
13 | Signed-off-by: Noboru Iwamatsu <n_iwamatsu@jp.fujitsu.com> | |
14 | Acked-by: jbeulich@novell.com | |
15 | ||
16 | --- sle11-2009-03-24.orig/drivers/xen/xenbus/xenbus_client.c 2008-11-25 12:35:56.000000000 +0100 | |
17 | +++ sle11-2009-03-24/drivers/xen/xenbus/xenbus_client.c 2009-03-17 15:27:31.000000000 +0100 | |
18 | @@ -53,6 +53,8 @@ const char *xenbus_strstate(enum xenbus_ | |
19 | [ XenbusStateConnected ] = "Connected", | |
20 | [ XenbusStateClosing ] = "Closing", | |
21 | [ XenbusStateClosed ] = "Closed", | |
22 | + [ XenbusStateReconfiguring ] = "Reconfiguring", | |
23 | + [ XenbusStateReconfigured ] = "Reconfigured", | |
24 | }; | |
25 | return (state < ARRAY_SIZE(name)) ? name[state] : "INVALID"; | |
26 | } |