From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yosuke Iwamatsu Subject: [PATCH] pciback: Fix Destroying pcifront/pciback Date: Thu, 21 Feb 2008 19:58:39 +0900 Message-ID: <47BD595F.7030000@ab.jp.nec.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020301080302000701030602" 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. --------------020301080302000701030602 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Hi, It seems that destroying pcifront/pciback always fails on current xen. This patch fixes the problem, making pciback switch to "Closed" state after pcifront switched to "Closing" state. Regards, ------------------- Yosuke Iwamatsu NEC Corporation --------------020301080302000701030602 Content-Type: all/allfiles; name="pciback_fix_destroy.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pciback_fix_destroy.patch" # HG changeset patch # User y-iwamatsu@ab.jp.nec.om # Date 1203592204 -32400 # Node ID ee2b617e46fc5d1e55c0dfac812337002f52825a # Parent 9dea529497fe546d25b5dc965d8161494c27d127 pciback: Fix destroying pcifront/pciback Signed-off-by: Yosuke Iwamatsu diff -r 9dea529497fe -r ee2b617e46fc drivers/xen/pciback/xenbus.c --- a/drivers/xen/pciback/xenbus.c Mon Feb 18 17:16:52 2008 +0000 +++ b/drivers/xen/pciback/xenbus.c Thu Feb 21 20:10:04 2008 +0900 @@ -174,7 +174,7 @@ static void pciback_frontend_changed(str break; case XenbusStateClosing: - xenbus_switch_state(xdev, XenbusStateClosing); + xenbus_switch_state(xdev, XenbusStateClosed); break; case XenbusStateUnknown: --------------020301080302000701030602 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 --------------020301080302000701030602--