Re: [Qemu-devel] [PATCH V27 1/7] Support for TPM command line options

2013-03-19 Thread Stefan Berger
On 03/19/2013 10:28 AM, Markus Armbruster wrote: Stefan Berger writes: I can write an OS that sends a command to the TPM and then shuts down without waiting for the program to terminate or the even the response from the TPM to come back . In this case we would need to cancel the command on ex

Re: [Qemu-devel] [PATCH V27 1/7] Support for TPM command line options

2013-03-19 Thread Markus Armbruster
Stefan Berger writes: > On 03/19/2013 03:45 AM, Markus Armbruster wrote: >> Stefan Berger writes: >> >>> On 03/18/2013 09:10 AM, Markus Armbruster wrote: > In case the TPM is currently not operating on a command there will be > no impact. In case the TPM is operating on a command, it wil

Re: [Qemu-devel] [PATCH V27 1/7] Support for TPM command line options

2013-03-19 Thread Stefan Berger
On 03/19/2013 03:45 AM, Markus Armbruster wrote: Stefan Berger writes: On 03/18/2013 09:10 AM, Markus Armbruster wrote: In case the TPM is currently not operating on a command there will be no impact. In case the TPM is operating on a command, it will hold the thread inside /dev/tpm0 until th

Re: [Qemu-devel] [PATCH V27 1/7] Support for TPM command line options

2013-03-19 Thread Markus Armbruster
Stefan Berger writes: > On 03/18/2013 09:10 AM, Markus Armbruster wrote: >>> >>> In case the TPM is currently not operating on a command there will be >>> no impact. In case the TPM is operating on a command, it will hold the >>> thread inside /dev/tpm0 until the command has finished. The solutio

Re: [Qemu-devel] [PATCH V27 1/7] Support for TPM command line options

2013-03-18 Thread Stefan Berger
On 03/18/2013 09:10 AM, Markus Armbruster wrote: In case the TPM is currently not operating on a command there will be no impact. In case the TPM is operating on a command, it will hold the thread inside /dev/tpm0 until the command has finished. The solution here is to write a byte into sysfs fi

Re: [Qemu-devel] [PATCH V27 1/7] Support for TPM command line options

2013-03-18 Thread Markus Armbruster
Stefan Berger writes: > On 03/15/2013 03:36 AM, Markus Armbruster wrote: >> I missed this one, because it wasn't cc'ed to QMP maintainers, the >> subject mentions only command line, not QMP, and even the body talks >> only about the human monitor command, not QMP. Noticed it only when >> git-pul

Re: [Qemu-devel] [PATCH V27 1/7] Support for TPM command line options

2013-03-15 Thread Corey Bryant
On 03/15/2013 03:36 AM, Markus Armbruster wrote: I missed this one, because it wasn't cc'ed to QMP maintainers, the subject mentions only command line, not QMP, and even the body talks only about the human monitor command, not QMP. Noticed it only when git-pull touched qapi-schema.json. Pleas

Re: [Qemu-devel] [PATCH V27 1/7] Support for TPM command line options

2013-03-15 Thread Stefan Berger
On 03/15/2013 03:36 AM, Markus Armbruster wrote: I missed this one, because it wasn't cc'ed to QMP maintainers, the subject mentions only command line, not QMP, and even the body talks only about the human monitor command, not QMP. Noticed it only when git-pull touched qapi-schema.json. Please

Re: [Qemu-devel] [PATCH V27 1/7] Support for TPM command line options

2013-03-15 Thread Markus Armbruster
I missed this one, because it wasn't cc'ed to QMP maintainers, the subject mentions only command line, not QMP, and even the body talks only about the human monitor command, not QMP. Noticed it only when git-pull touched qapi-schema.json. Please try harder to help Luiz and me keep track of QMP ch

[Qemu-devel] [PATCH V27 1/7] Support for TPM command line options

2013-02-27 Thread Stefan Berger
This patch adds support for TPM command line options. The command line options supported here are ./qemu-... -tpmdev passthrough,path=,id= -device tpm-tis,tpmdev=,id= and ./qemu-... -tpmdev help where the latter works similar to -soundhw help and shows a list of available TPM backend