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

[Xen-devel] [PATCH][REPOST] Additional states for Xenbus: Suspend/Resume



Hello!

I have previously posted a version of this patch. The problem that I
have encountered with driver backends was that they were unaware of the
reason why a frontend was disappearing or why it was created. The
following patch allows the backend to see whether a frontend is going
into suspend mode and disappearing vs. disappearing due to domain
destruction or being created due to a resume vs a domain creation. I
have separated out the code that actually uses this awareness in the TPM
driver for another patch. Backend drivers can now be written such that it allows
hotplug scripts to react differently depending on this reason.

Please let me know about comments regarding this patch.


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

Attachment: xenbus-susres-state.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®.