From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56675) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMVvy-0001H5-F0 for qemu-devel@nongnu.org; Tue, 17 May 2011 21:52:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QMVvx-0006vL-93 for qemu-devel@nongnu.org; Tue, 17 May 2011 21:52:22 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.123]:58068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMVvx-0006vG-76 for qemu-devel@nongnu.org; Tue, 17 May 2011 21:52:21 -0400 Date: Tue, 17 May 2011 20:52:19 -0500 From: "Serge E. Hallyn" Message-ID: <20110518015219.GA17871@mail.hallyn.com> References: <20110506173224.278066589@linux.vnet.ibm.com> <20110506173244.297608456@linux.vnet.ibm.com> <20110517205832.GA21516@mail.hallyn.com> <4DD301A9.4050608@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DD301A9.4050608@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH V4 01/10] Support for TPM command line options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Berger Cc: qemu-devel@nongnu.org Quoting Stefan Berger (stefanb@linux.vnet.ibm.com): > On 05/17/2011 04:58 PM, Serge E. Hallyn wrote: > >Quoting Stefan Berger (stefanb@linux.vnet.ibm.com): > >>This patch adds support for TPM command line options. > >>The command line supported here (considering the libtpms based > >>backend) are > >> > >>./qemu-... -tpm type=,path=, > >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 No, feh! I'll go grab those, thanks. Sorry, I had apparently moved 0/10 (bc it screws up git am), and then thought 1/10 was also the intro bc it looks like it has an intro. (Now I see 0/10 at http://lists.gnu.org/archive/html/qemu-devel/2011-05/msg00541.html) thanks, -serge