qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kevin O'Connor <kevin@koconnor.net>
To: Stefan Berger <stefanb@linux.vnet.ibm.com>
Cc: seabios@seabios.org, qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [SeaBIOS] [PATCH V2 0/8] Add TPM support to SeaBIOS
Date: Tue, 5 Apr 2011 01:17:19 -0400	[thread overview]
Message-ID: <20110405051719.GA1500@morn.localdomain> (raw)
In-Reply-To: <20110405012939.098839448@linux.vnet.ibm.com>

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

  parent reply	other threads:[~2011-04-05  5:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-05  1:29 [Qemu-devel] [PATCH V2 0/8] Add TPM support to SeaBIOS Stefan Berger
2011-04-05  1:29 ` [Qemu-devel] [PATCH V2 1/8] Add an implementation for a TPM TIS driver Stefan Berger
2011-04-05  1:29 ` [Qemu-devel] [PATCH V2 2/8] Provide ACPI SSDT table for TPM device + S3 resume support Stefan Berger
2011-04-05  1:29 ` [Qemu-devel] [PATCH V2 3/8] Add public get_rsdp function Stefan Berger
2011-04-05  1:29 ` [Qemu-devel] [PATCH V2 4/8] Implementation of the TCG BIOS extensions Stefan Berger
2011-04-05  1:29 ` [Qemu-devel] [PATCH V2 5/8] Support for BIOS interrupt handler Stefan Berger
2011-04-05  1:29 ` [Qemu-devel] [PATCH V2 6/8] Add measurement code to the BIOS Stefan Berger
2011-04-05  1:29 ` [Qemu-devel] [PATCH V2 7/8] Add a menu for TPM control Stefan Berger
2011-04-05  1:29 ` [Qemu-devel] [PATCH V2 8/8] Optional tests for the TIS interface Stefan Berger
2011-04-05  5:17 ` Kevin O'Connor [this message]
2011-04-05  5:38   ` [Qemu-devel] Re: [SeaBIOS] [PATCH V2 0/8] Add TPM support to SeaBIOS Stefan Berger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110405051719.GA1500@morn.localdomain \
    --to=kevin@koconnor.net \
    --cc=qemu-devel@nongnu.org \
    --cc=seabios@seabios.org \
    --cc=stefanb@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).