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: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, "Stefan Berger" <stefanb@xxxxxxxxxx>
Subject: RE: [Xen-devel] Re: Getting rid of xenbus_suspend(): tpmfrontdriver impacted?
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Mon, 6 Nov 2006 21:15:34 +0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>, xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 06 Nov 2006 07:24:48 -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
Thread-index: AccBBEVyhCn6Gmz3EdutFQANk04WTAAdBHhgAAIdkXkACQBuEA==
Thread-topic: [Xen-devel] Re: Getting rid of xenbus_suspend(): tpmfrontdriver impacted?
>From: Keir Fraser [mailto:Keir.Fraser@xxxxxxxxxxxx]
>Sent: 2006年11月6日 16:52
>
>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

For the migration case, the connection may still exist to the xenstored. 
However for save/restore case, we destroy the domain once saved, 
right? In that case, the connection is broken and next time you still 
need to re-bind inter-domain xenbus channel (although local event 
port is same) after resume, just like what's done for xenconsole. 
Xenbus_suspend_cancel can save local state resume, but inter-
domain re-connection is inevitable, IMO. :-)

Thanks,
Kevin

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