All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Berger <stefanb@linux.vnet.ibm.com>
To: Andreas Niederl <andreas.niederl@iaik.tugraz.at>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/5] Add TPM 1.2 device interface
Date: Fri, 18 Feb 2011 15:27:01 -0500	[thread overview]
Message-ID: <4D5ED615.60801@linux.vnet.ibm.com> (raw)
In-Reply-To: <4D5EAE53.9010301@iaik.tugraz.at>

On 02/18/2011 12:37 PM, Andreas Niederl wrote:
> On 02/18/2011 05:37 PM, Stefan Berger wrote:
>> On 02/18/2011 10:33 AM, Andreas Niederl wrote:
>>> This implementation is based on the TPM 1.2 interface for virtualized TPM
>>> devices from the Xen-4.0.0 ioemu-qemu-xen fork.
>>>
>>> A backend driver infrastructure is provided to be able to use different
>>> device backends.
> [...]
>> I have a tpm_tis.c with major changes in it getting rid of the polling,
>> closer to specs that passes a test suite and a registerable backend as
>> well that has several more interface functions, due to support for
>> snapshotting etc. Unfortunately it doesn't make much sense for me to
>> post it since the backend is based on a library that's currently in the
>> Fedora review process and nobody else could build or test it  -- unless
>> there really was interest in reviewing at least some part of it.
> So I'm guessing that this library is not publicly available right now?
Not via the fedora repository at least. So yum install does not work, yet.
> Is this backend meant for integration into QEMU or does it run as
> separate process?
>
The backend is meant for integration in Qemu. It runs as a thread.
> How/Where could I integrate a passthrough backend like the one in this
> patch series?
>
It's possible via similar mechanisms as you have, just the interface is 
bigger and main code calls into the interface at different times. I'd 
need to share the code with you.
> The polling code isn't really necessary for the host backend, I left it
> there just in case it would be needed by such a socket interface as is
> used in the Xen fork.
>
I don't think it's necessary to have it all. In the new code, the  
frontend delivers a request to the backend and provides a callback 
function for delivering the response back once received.

>> It would certainly be desirable if your backend and mine could be
>> accommodate.
> Of course.
>
Let's see how we do this.

   Stefan

> Regards,
> Andreas
>

  reply	other threads:[~2011-02-18 20:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-18 15:33 [Qemu-devel] [PATCH 0/5] TPM device emulation Andreas Niederl
2011-02-18 15:33 ` [Qemu-devel] [PATCH 1/5] Add TPM 1.2 device interface Andreas Niederl
2011-02-18 16:37   ` Stefan Berger
2011-02-18 17:37     ` Andreas Niederl
2011-02-18 20:27       ` Stefan Berger [this message]
2011-02-21 17:03         ` Andreas Niederl
2011-02-22 16:47           ` Stefan Berger
2011-02-24 15:30     ` Andreas Niederl
2011-02-24 17:44       ` Stefan Berger
2011-02-18 21:03   ` Stefan Berger
2011-02-21 17:13     ` Andreas Niederl
2011-02-18 15:33 ` [Qemu-devel] [PATCH 2/5] Provide SSDT for enabled TPM device Andreas Niederl
2011-02-18 17:02   ` Stefan Berger
2011-02-21 16:55     ` Andreas Niederl
2011-02-18 15:33 ` [Qemu-devel] [PATCH 3/5] Add TPM host passthrough device backend Andreas Niederl
2011-02-18 15:33 ` [Qemu-devel] [PATCH 4/5] Add configure script and command line options for TPM interface Andreas Niederl
2011-02-18 15:33 ` [Qemu-devel] [PATCH 5/5] Adapt TPM host backend to use threadlets Andreas Niederl

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=4D5ED615.60801@linux.vnet.ibm.com \
    --to=stefanb@linux.vnet.ibm.com \
    --cc=andreas.niederl@iaik.tugraz.at \
    --cc=qemu-devel@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.