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

2013-02-11 Thread Corey Bryant
On 02/11/2013 04:38 PM, Stefan Berger wrote: On 02/11/2013 01:46 PM, Corey Bryant wrote: @@ -79,25 +88,36 @@ static uint32_t tpm_passthrough_get_size_from_buffer(const uint8_t *buf) return be32_to_cpu(resp->len); } -static int tpm_passthrough_unix_tx_bufs(int tpm_fd, +static int tpm_

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

2013-02-11 Thread Stefan Berger
On 02/11/2013 01:46 PM, Corey Bryant wrote: @@ -79,25 +88,36 @@ static uint32_t tpm_passthrough_get_size_from_buffer(const uint8_t *buf) return be32_to_cpu(resp->len); } -static int tpm_passthrough_unix_tx_bufs(int tpm_fd, +static int tpm_passthrough_unix_tx_bufs(TPMPassthruState *tpm_

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

2013-02-11 Thread Corey Bryant
On 02/08/2013 04:42 PM, 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/class/misc/tpm0/device/cancel This patch propagates the cancellation of

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

2013-02-08 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/class/misc/tpm0/device/cancel This patch propagates the cancellation of a command inside a VM to the host TPM's sysfs en