WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

[Xen-devel] [PATCH] Add a mechanism to detect block device setup failure

To: xen-devel@xxxxxxxxxxxxxxxxxxx, aliguori@xxxxxxxxxx
Subject: [Xen-devel] [PATCH] Add a mechanism to detect block device setup failure
From: Murillo Fernandes Bernardes <mfb@xxxxxxxxxx>
Date: 2005年10月28日 16:42:10 -0200
Delivery-date: 2005年10月29日 07:59:02 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.2
Hi
The problem is: There is no mechanism to detect block device setup failure
Network devices have the same problem, and are fixed with this too.
I handling this problem in the way suggested by aliguori: 
- hotplug scripts write a "hotplug-status" node on store
- Xend DevController.createDevice() check verify this node and return success 
or throw an exception on failure. 
- If no changes in "hotplug-status" node after DEVICE_CREATE_TIMEOUT seconds 
Xend throw an exception showing the problem with hotplug scripts.
Comments?
Regards
-- 
Murillo Fernandes Bernardes

Attachment: DevController_device_create_check.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] [PATCH] Unshadow for the native case only , Nakajima, Jun
Next by Date: [Xen-devel] [PATCH] Add a mechanism to detect block device setup failure , Murillo Fernandes Bernardes
Previous by Thread: [Xen-devel] [PATCH] Unshadow for the native case only , Nakajima, Jun
Next by Thread: [Xen-devel] [PATCH] Add a mechanism to detect block device setup failure , Murillo Fernandes Bernardes
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /