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
 
   
 

xense-devel

RE: [Xense-devel] Run vTPM in its own VM?

To: "Fischer, Anna" <anna.fischer@xxxxxx>, <Xense-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xense-devel] Run vTPM in its own VM?
From: "Scarlata, Vincent R" <vincent.r.scarlata@xxxxxxxxx>
Date: Thu, 14 Sep 2006 09:59:20 -0700
Delivery-date: Thu, 14 Sep 2006 10:00:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xense-devel-request@lists.xensource.com?subject=help>
List-id: "A discussion list for those developing security enhancements for Xen." <xense-devel.lists.xensource.com>
List-post: <mailto:xense-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xense-devel>, <mailto:xense-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xense-devel>, <mailto:xense-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xense-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbX3EoolAtZZWC7TRa8j7zH3lWkJgAP9dCw
Thread-topic: [Xense-devel] Run vTPM in its own VM?
Sorry Anna, the documentation is both slightly out of date, and slightly
ahead of its time. :-)

The vtpm manager was architected to allows each vtpm instance to run in
its own VM, but during the last restructuring of the code, support for
this configuration was broken. It's now incomplete. Due to other
commitments, I won't be able to get back to this immediately, I hope to
submit a patch to re-enable this config options within a month-ish.

The way it looked and will look again is the following. A standard
config would be a Dom0, DomU1 guest, DomU1vTPM vtpm domain, ... DomUn,
DomUnvTPM. DomU1 has a tpm FE, for which DomU1vTPM has the BE. Similarly
DomU2 has a tpm FE, for which DomU2vTPM has the BE. This allows direct
communication between the DomU and it's vTPM, as you mention below. Then
all the DomU*vTPM domains have tpm FEs, for which the domain housing the
vtpm manager is the BE. By default this is Dom0, but provided that the
tpm device can be assigned to a different domain, this can be put in any
domain. The vtpm_manager's domain has the tpm driver.

This is a little heavier weight than running everything in dom0, but it
removes the manager from being a bottle neck in tpm access, since all
DomUs can access their vTPMs simultaneously (though the manager can
still only handle 1 vtpm request at a time to save internal states).
Also isolation between vtpms is established.

Do you need this functionality, or are you just doing thought
experiments?

Hopes this answers your questions,

-Vinnie Scarlata
  Trusted Platform Lab
  Corporate Technology Group
  Intel Corporation

-----Original Message-----
From: xense-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xense-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Fischer,
Anna
Sent: Thursday, September 14, 2006 2:01 AM
To: Xense-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xense-devel] Run vTPM in its own VM?

The README of the current Xen unstable version says that setting
VTPM_MULTI_VM allows running each vTPM in its own VM. However, compiling
with this option doesn't work on my machine and the code doesn't seem to
be complete for this option.

Did I miss to configure something or is the current implementation in
Xen not really ready for running a vTPM in a separate VM?

Can you explain to me how a communication will look like for the planned
implementation in Xen? Will all communication continue to go through the
vTPM manager and the vTPM manager talks to a kind of FE that transmits
TPM commands to a BE running in a separate domain? Or is it possible to
set up direct connections between a user domain TPM FE and the vTPM
running in an isolated VM?

Regards,
Anna

_______________________________________________
Xense-devel mailing list
Xense-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xense-devel

_______________________________________________
Xense-devel mailing list
Xense-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xense-devel