On Wed, Sep 28, 2011 at 09:23:00AM -0400, Stefan Berger wrote: ...
> Some notes about the host TPM: > The TPM needs to be enabled and activated. If that's not the case one > has to go through the BIOS/UEFI and enable and activate that TPM for TPM > commands to work as expected. > It may be necessary to boot the kernel using tpm_tis.force=1 in the boot > command line or 'modprobe tpm_tis force=1' in case of using it as a module. ... > Index: qemu-git.pt/configure > =================================================================== > --- qemu-git.pt.orig/configure > +++ qemu-git.pt/configure > @@ -3565,6 +3565,9 @@ fi > > if test "$tpm" = "yes"; then > if test "$target_softmmu" = "yes" ; then > + if test "$linux" = "yes" ; then > + echo "CONFIG_TPM_PASSTHROUGH=y" >> $config_target_mak > + fi I think we might want to make this a configure option separate from tpm. The number of ways this can fail might make some vendors want to disable this mode. > echo "CONFIG_TPM=y" >> $config_host_mak > fi > fi