Skip to contentSkip to conversation

TPM , Qemu and hvm guests

DISCUSSION Xen Xen 2 participants 2 messages Jul 18, 2007

lore
Share & tools
lore

Xen Xen

author
#0 lore raw

Can qemu emulate a tpm device for the hvm guests??
I have a platform with a physical tpm and i want to run hvm guests that can make use of the tpm.
I know there is support for vtpm in paravirtual guests with the split driver model but what about for hvm guests??
I also see references to tpm_tis?? What is it ??

thanks

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

#1 lore raw

The qemu TPM device model does not emulate the TPM functionality but rather provides an interface between the MMIO registers of the TPM and the vTPM Manager. The vTPM Manager provides (via a software TPM emulator) TPM services to both paravirt and HVM guests.

The vTPM code is not built by default, so you need to enable it in Config.mk (VTPM_TOOLS ?= y). There is documentation in the tools/vtpm_manager and docs/misc directories that should help get it working for you.

tpm_tis(.ko) is the TPM v1.2 device driver for Linux. You need to load this before you can use your physical TPM. You will need this loaded in dom0 for vTPM Manager to use the physical TPM and you will also need to load it in a Linux HVM guest.

Joe

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Xen Xen
Sent: Wednesday, July 18, 2007 12:00 PM
To: [email protected]
Subject: [Xen-devel] TPM , Qemu and hvm guests

Can qemu emulate a tpm device for the hvm guests??
I have a platform with a physical tpm and i want to run hvm guests that can make use of the tpm.
I know there is support for vtpm in paravirtual guests with the split driver model but what about for hvm guests??
I also see references to tpm_tis?? What is it ??

thanks