qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH V4 01/10] Support for TPM command line options


From: Stefan Berger
Subject: Re: [Qemu-devel] [PATCH V4 01/10] Support for TPM command line options
Date: Tue, 17 May 2011 19:15:53 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.10

On 05/17/2011 04:58 PM, Serge E. Hallyn wrote:
Quoting Stefan Berger (address@hidden):
This patch adds support for TPM command line options.
The command line supported here (considering the libtpms based
backend) are

./qemu-... -tpm type=<type>,path=<path to blockstorage file>,
Hm, I did

kvm -tpm type=builtin,path=tpm.img -m 1G disk.img -vnc :1

with disk.img being a newly installed VM.  I installed trousers
and tpm-tools, tried loading the tpm, tpm_tis, tpm_infineon, and
some other modules, /dev/tpm was never created, and

   tpm_takeownership

continued to give me:

Tspi_Context_Connect failed: 0x00003011 - layer=tsp, code=0011 (17), 
Communication failure

Which kernel module should work with builtin?
The device model is a tpm-tis. So modprobe tpm_tis should create a /dev/tpm0. If nothing else helps enable the DEBUG_TIS in hw/tpm_tis and recompile.

Did you start it with SeaBIOS and the TPM-related patches applied to it? If not, you'll have to initialize the TPM that otherwise the BIOS would do. Otherwise the debugging output from the tpm-tis should begin very early once the BIOS sends commands to the TIS/TPM.

Regards,
  Stefan
thanks,
-serge





reply via email to

[Prev in Thread] Current Thread [Next in Thread]