Skip to contentSkip to conversation

vTPM in dom0

DISCUSSION Tom Buhl 3 participants 4 messages Mar 14, 2008 – Mar 17, 2008

lore
Share & tools
lore

Tom Buhl

author
#0 lore raw

Hi,

yesterday I posted a question to the xen-users list concerning usage of the TPM in dom0.
This is the original message:
"I am using Xen 3.2.0 and want to use the TPM in dom0. I have activated vtpm and everything runs fine in my domUs.
The question is, how can I access the TPM in dom0? As far as I know vtpm_managerd exclusively locks /dev/tpm0. As soon as I start vtpm_managerd my own program cannot access the TPM anymore. Is there a vtpm instance for dom0 like the ones for the user domains?"

Anna Fischer replied with the suggestion to ask this list, if there has been any development recently in that direction. Is there a way to use the TPM in dom0?

Thanks in advance,

Tom

Signature · 2 lines
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx
#1 lore raw

hi
I am interested in vtmp, and does xen3.1 support vtpm or not? i have got a hardware platform with tpm,i want to have a try with xen vtpm ,and i want to kown wether xen3.1 support vtpm or not ? or how to use it in xen3.1 or xen3.2 ?

Thanks

Quoted 13 lines · Tom Buhl

Hi,

yesterday I posted a question to the xen-users list concerning usage of the TPM in dom0.
This is the original message:
"I am using Xen 3.2.0 and want to use the TPM in dom0. I have activated vtpm and everything runs fine in my domUs.
The question is, how can I access the TPM in dom0? As far as I know vtpm_managerd exclusively locks /dev/tpm0. As soon as I start vtpm_managerd my own program cannot access the TPM anymore. Is there a vtpm instance for dom0 like the ones for the user domains?"

Anna Fischer replied with the suggestion to ask this list, if there has been any development recently in that direction. Is there a way to use the TPM in dom0?

Thanks in advance,

Tom

#3 lore raw
In reply to Tom Buhl
Quoted 3 lines · Tom Buhl

Hi,

yesterday I posted a question to the xen-users list concerning usage

of the

Quoted 3 lines

TPM in dom0.
This is the original message:
"I am using Xen 3.2.0 and want to use the TPM in dom0. I have

activated vtpm

Quoted 3 lines

and everything runs fine in my domUs.
The question is, how can I access the TPM in dom0? As far as I know vtpm_managerd exclusively locks /dev/tpm0. As soon as I start

vtpm_managerd

Quoted 1 line

my own program cannot access the TPM anymore. Is there a vtpm instance

for

Quoted 3 lines

dom0 like the ones for the user domains?"

Anna Fischer replied with the suggestion to ask this list, if there

has been

Quoted 1 line

any development recently in that direction. Is there a way to use the

TPM in

Quoted 5 lines

dom0?

Thanks in advance,

Tom

This was asked previously as part of a different thread
(http://lists.xensource.com/archives/html/xen-devel/2007-07/msg00812.htm
l), and the basic answer is that it was intended that only vTPM Manager would have access to the physical TPM in dom0. As such, it was written with a stripped-down version of a TSS embedded withing itself, rather than to use an external TSS (e.g. TrouSerS).

What is it that you would like to do with the physical TPM?

Joe

#2 lore raw
In reply to tgh
Quoted 7 lines · tgh

hi
I am interested in vtmp, and does xen3.1 support vtpm or not? i have got a hardware platform with tpm,i want to have a try with xen vtpm ,and i want to kown wether xen3.1 support vtpm or not ?
or how to use it in xen3.1 or xen3.2 ?

Thanks

Xen has support vTPM since long before 3.1, but it is optional and not built by default. Instructions for enabling and using it are in docs/misc/vtpm.txt and tools/vtpm_manager/README.

Joe

Quoted 30 lines
Quoted 12 lines · Tom Buhl

Hi,

yesterday I posted a question to the xen-users list concerning usage of the TPM in dom0.
This is the original message:
"I am using Xen 3.2.0 and want to use the TPM in dom0. I have activated vtpm and everything runs fine in my domUs.
The question is, how can I access the TPM in dom0? As far as I know vtpm_managerd exclusively locks /dev/tpm0. As soon as I start vtpm_managerd my own program cannot access the TPM anymore. Is there a vtpm instance for dom0 like the ones for the user domains?"

Quoted 8 lines

Anna Fischer replied with the suggestion to ask this list, if there has been any development recently in that direction. Is there a way to use the TPM in dom0?

Thanks in advance,

Tom

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel