From: Keir Fraser Subject: Re: Getting rid of xenbus_suspend(): tpmfront driver impacted? Date: Sun, 05 Nov 2006 17:01:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2135767763==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefan Berger Cc: xen-devel List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============2135767763== Content-type: multipart/alternative; boundary="B_3245590919_19602860" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3245590919_19602860 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable > The TPM protocol in contrast assumes a reliable connection from the compu= ter > to the device and that all commands finish correctly and responses are > received by the apps *and* that requests are not resent. How does the blo= ck > driver handle this? Will the frontend driver still receive explicit > notification of a shutdown? What=B9s the story on save/restore/migration of TPM state so that the guest sees the expected state on restore? It=B9s not like it=B9s part of the save image format right now. Assuming you have some out-of-band mechanism, how about making a message counter (or something) a part of that save state and something that tpmfront can interrogate when it reconnects to find out exactly up to what point in its request stream processing ceased? The current tpmfront_suspend() method is a bit cheesy as far as I can see, so something more integrated in the tpmfront/back protocol would be nice. -- Keir --B_3245590919_19602860 Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Re: Getting rid of xenbus_suspend(): tpmfront driver impacted?</TITL= E> </HEAD> <BODY> <BLOCKQUOTE><FONT FACE=3D"Monaco, Courier New"><SPAN STYLE=3D'font-size:12.0px'= >The TPM protocol in contrast assumes a reliable connection from the compute= r to the device and that all commands finish correctly and responses are rec= eived by the apps *and* that requests are not resent. How does the block dri= ver handle this? Will the frontend driver still receive explicit notificatio= n of a shutdown?</SPAN></FONT><SPAN STYLE=3D'font-size:12.0px'><FONT FACE=3D"Ver= dana, Helvetica, Arial"> <BR> </FONT></SPAN></BLOCKQUOTE><SPAN STYLE=3D'font-size:12.0px'><FONT FACE=3D"Verda= na, Helvetica, Arial"><BR> What’s the story on save/restore/migration of TPM state so that the g= uest sees the expected state on restore? It’s not like it’s part= of the save image format right now. Assuming you have some out-of-band mech= anism, how about making a message counter (or something) a part of that save= state and something that tpmfront can interrogate when it reconnects to fin= d out exactly up to what point in its request stream processing ceased? The = current tpmfront_suspend() method is a bit cheesy as far as I can see, so so= mething more integrated in the tpmfront/back protocol would be nice.<BR> <BR>  -- Keir<BR> </FONT></SPAN> </BODY> </HTML> --B_3245590919_19602860-- --===============2135767763== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============2135767763==--