From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noboru Iwamatsu Subject: [PATCH] Add new states to xenbus_strstate() Date: Tue, 17 Mar 2009 15:07:53 +0900 Message-ID: <49BF3E39.20106@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070602010201020806080404" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------070602010201020806080404 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------070602010201020806080404 Content-Type: text/plain; name="xenbus_strstate.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="xenbus_strstate.patch" 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"; } --------------070602010201020806080404 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------070602010201020806080404--