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

[Xen-devel] [PATCH] Two more states for the Xenbus: Suspend/Resume


  • To: Xen dev mailing list <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Stefan Berger <stefanb@xxxxxxxxxx>
  • Date: Mon, 12 Dec 2005 16:35:13 -0500
  • Delivery-date: Mon, 12 Dec 2005 21:38:13 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

The attached patch adds two more states to the xenbus state machine for
notifying the backend about suspending and resuming of a frontend.
Without these explicit states a backend driver does currently not know
whether a frontend is disappearing due to a suspend or because the
domain has been shut down/killed. The same is true for the appearing of
a front-end driver due to either creation of a domain or resumption. For
some backend drivers and hotplug scripts it is useful to know about the
actual reason, though.
I have made the necessary modifications to the block, network and TPM
device drivers. The block and network drivers ignore this additional
state.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>



Attachment: xenbus-suspend.diff
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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