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

Re: [Xen-devel] Re: Getting rid of xenbus_suspend(): tpmfront driver imp

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Re: Getting rid of xenbus_suspend(): tpmfront driver impacted?
From: Kieran Mansley <kmansley@xxxxxxxxxxxxxx>
Date: Mon, 06 Nov 2006 15:52:02 +0000
Delivery-date: Mon, 06 Nov 2006 07:52:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
Keir Fraser wrote:
> I suppose we could keep suspend() and also introduce a
suspend_cancelled()
> hook...
>
> -- Keir

This would certainly make our life easier.

For our work on accelerated network drivers we're currently using
suspend() to give the guest a chance to stop using any hardware
resources that have been mapped up into it.  Without suspend(), you
could be in the situation where the guest was in the middle of accessing
a hardware resource when it is migrated to another server where it
clearly won't be able to access that hardware resource.  With suspend()
and resume() we can stop it using the hardware resources it has, then
renegotiate equivalents on the the server if they are available, before
carrying on as before.  Working around this would be tricky.

Kieran


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

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] Re: Getting rid of xenbus_suspend(): tpmfront driver impacted?, Kieran Mansley <=