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 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Xen dev mailing list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Two more states for the Xenbus: Suspend/Resume
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Mon, 12 Dec 2005 16:35:13 -0500
Delivery-date: Mon, 12 Dec 2005 21:38:13 +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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Two more states for the Xenbus: Suspend/Resume, Stefan Berger <=