Received: from [140.186.70.92] (port=56582 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6ydo-00035u-MP for qemu-devel@nongnu.org; Tue, 05 Apr 2011 01:17:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6ydn-0004TQ-LR for qemu-devel@nongnu.org; Tue, 05 Apr 2011 01:17:24 -0400 Received: from mail-qy0-f173.google.com ([209.85.216.173]:54245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6ydn-0004TF-JL for qemu-devel@nongnu.org; Tue, 05 Apr 2011 01:17:23 -0400 Received: by qyk36 with SMTP id 36so1816431qyk.4 for ; Mon, 04 Apr 2011 22:17:22 -0700 (PDT) Date: Tue, 5 Apr 2011 01:17:19 -0400 From: Kevin O'Connor Message-ID: <20110405051719.GA1500@morn.localdomain> References: <20110405012939.098839448@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110405012939.098839448@linux.vnet.ibm.com> Subject: [Qemu-devel] Re: [SeaBIOS] [PATCH V2 0/8] Add TPM support to SeaBIOS List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Berger Cc: seabios@seabios.org, qemu-devel@nongnu.org On Mon, Apr 04, 2011 at 09:29:39PM -0400, Stefan Berger wrote: > The following set of patches add TPM and Trusted Computing support to SeaBIOS. > In particular the patches add: Thanks Stefan. In general, it looks okay to me. Since this depends on a qemu change, though, I'd like to see a qemu/kvm maintaner ack (or the dependent changes committed in qemu) before committing to SeaBIOS. Some minor nits: Patch 4: > +// TCG BIOS extensions > +void tcpa_interrupt_handler16(struct bregs *regs); This looks stale. Patch 5: > +#else > + > +static u32 > +sha1_calc(const u8 *data, u32 length, u8 *hash) > +{ > + return sha1(data, length, hash); I'd prefer to avoid #ifdefs - it should be possible to do something like: sha1_calc(...) { if (CONFIG_TPM_FOR_SHA1) return tpm_sha1_calc(...); return sha1(...); } Finally, can you briefly describe what services that require TPM support will now be available to end-users with this series? -Kevin