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] [PATCH] [Linux] Transfer TPM locality info in the ringst

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] [Linux] Transfer TPM locality info in the ringstructure
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Mon, 7 Jan 2008 09:28:13 -0500
Cc: vincent.r.scarlata@xxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, Jan Beulich <jbeulich@xxxxxxxxxx>
Delivery-date: Mon, 07 Jan 2008 06:28:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C3A7D271.11D05%Keir.Fraser@xxxxxxxxxxxx>
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 <Keir.Fraser@xxxxxxxxxxxx> wrote on 01/07/2008 07:58:25 AM:

> Personally I do not much care about compatibility of new backend
> with old frontend, or vice versa, since I doubt that the vtpm
> drivers have many users. But others with an interest in the vtpm
> drivers might care, as the errors that mismatched drivers will cause
> are likely to be moderately hard to debug. If compatibility is
> required, you’ll have to negotiate the new request format via
> xenstore. It’s not that hard: see the request-foo/feature-foo
> handshake that goes on e.g., between netfront and netback.


Actually, intializing the ring to zeroes once the mapping is done does solve the problem for the frontend that currently does not touch the uninitialized variable. Though, to correct this, I am also initializing the 'unused' member on the frontend in a patch that I'l post soon.

   Stefan

>
>  -- Keir
>
> On 7/1/08 11:53, "Stefan Berger" <stefanb@xxxxxxxxxx> wrote:

> Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote on 01/06/2008 06:12:06 PM:
>
> > How does that fix the problem if an old tpm frontend runs against a
> > new tpm backend? The unused field will not be initialised by the old
> > frontend, hence can contain garbage to confuse the new backend?
> >
>
> I don't know of any better solution than initializing this 'now'.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel