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(): tpmfrontdriver impa

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, Stefan Berger <stefanb@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: Getting rid of xenbus_suspend(): tpmfrontdriver impacted?
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 06 Nov 2006 08:51:52 +0000
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>, xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 06 Nov 2006 07:24:49 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D470B4E54465E3469E2ABBC5AFAC390F05136A@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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
Thread-index: AccBBEVyhCn6Gmz3EdutFQANk04WTAAdBHhgAAIdkXk=
Thread-topic: [Xen-devel] Re: Getting rid of xenbus_suspend(): tpmfrontdriver impacted?
User-agent: Microsoft-Entourage/11.2.5.060620


On 6/11/06 08:09, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:

> When you said "xenbus_resume" will not be executed, could I suppose that only
> per-PV drivers' resume handler won't be invoked, while instead xb_init_comms
> and 
> xs_resume are still invoked just after resuming point? In any case, we still
> need
> rebuild xenbus channel first, and then to let PV drivers detecting re-connect,
> am I
> right?

No, there would still be a connection through to the xenstored. I guess we
do take a few mutexes and so on, so we would need a bit of undo code. So
xenbus_suspend_cancel() is probably the way to go. But full re-connection is
not required.

 -- Keir



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