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

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

  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Murillo Fernandes Bernardes <mfb@xxxxxxxxxx>
  • Date: Sat, 29 Oct 2005 01:11:07 -0200
  • Delivery-date: Sat, 29 Oct 2005 08:01:41 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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.



Murillo Fernandes Bernardes

Attachment: DevController_device_create_check.patch
Description: Text Data

Xen-devel mailing list



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