Re: [Qemu-devel] [PATCH V20 6/8] Add support for cancelling of a TPM command

2013-02-04 Thread Stefan Berger
On 02/04/2013 05:06 PM, Corey Bryant wrote: On 02/04/2013 01:48 PM, Stefan Berger wrote: On 02/04/2013 11:02 AM, Corey Bryant wrote: +/* + * As of Linux 3.7 the tpm_tis driver does not properly cancel + * commands for all TPMs. Any idea what the plan is for this issue? Is it a

Re: [Qemu-devel] [PATCH V20 6/8] Add support for cancelling of a TPM command

2013-02-04 Thread Corey Bryant
On 02/04/2013 01:48 PM, Stefan Berger wrote: On 02/04/2013 11:02 AM, Corey Bryant wrote: @@ -221,7 +243,24 @@ static void tpm_passthrough_deliver_request(TPMBackend *tb) static void tpm_passthrough_cancel_cmd(TPMBackend *tb) { -/* cancelling an ongoing command is known not to work wi

Re: [Qemu-devel] [PATCH V20 6/8] Add support for cancelling of a TPM command

2013-02-04 Thread Stefan Berger
On 02/04/2013 11:02 AM, Corey Bryant wrote: @@ -221,7 +243,24 @@ static void tpm_passthrough_deliver_request(TPMBackend *tb) static void tpm_passthrough_cancel_cmd(TPMBackend *tb) { -/* cancelling an ongoing command is known not to work with some TPMs */ +TPMPassthruState *tpm_pt

Re: [Qemu-devel] [PATCH V20 6/8] Add support for cancelling of a TPM command

2013-02-04 Thread Corey Bryant
On 01/18/2013 11:02 AM, Stefan Berger wrote: This patch adds support for cancelling an executing TPM command. In Linux for example a user can cancel a command through the TPM's sysfs 'cancel' entry using echo "1" > /sysfs/.../cancel This patch propagates the cancellation to the host TPM's sysf

[Qemu-devel] [PATCH V20 6/8] Add support for cancelling of a TPM command

2013-01-18 Thread Stefan Berger
This patch adds support for cancelling an executing TPM command. In Linux for example a user can cancel a command through the TPM's sysfs 'cancel' entry using echo "1" > /sysfs/.../cancel This patch propagates the cancellation to the host TPM's sysfs entry. It also uses the possibility to cancel