[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 41/42] tpm-emulator: add a FIXME comment about block
From: |
Marc-André Lureau |
Subject: |
[Qemu-devel] [PATCH 41/42] tpm-emulator: add a FIXME comment about blocking cancel |
Date: |
Tue, 10 Oct 2017 00:56:22 +0200 |
Signed-off-by: Marc-André Lureau <address@hidden>
---
hw/tpm/tpm_emulator.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/tpm/tpm_emulator.c b/hw/tpm/tpm_emulator.c
index 315819329b..091d7ea147 100644
--- a/hw/tpm/tpm_emulator.c
+++ b/hw/tpm/tpm_emulator.c
@@ -328,6 +328,7 @@ static void tpm_emulator_cancel_cmd(TPMBackend *tb)
return;
}
+ /* FIXME: make the function non-blocking, or it may block a VCPU */
if (tpm_emulator_ctrlcmd(&tpm_emu->ctrl_chr, CMD_CANCEL_TPM_CMD, &res, 0,
sizeof(res)) < 0) {
error_report("tpm-emulator: Could not cancel command: %s",
--
2.14.1.146.gd35faa819
[Qemu-devel] [PATCH 38/42] tpm: add TPM interface to lookup TPM version, Marc-André Lureau, 2017/10/09
[Qemu-devel] [PATCH 39/42] tpm: add tpm_cmd_get_size() to tpm_util, Marc-André Lureau, 2017/10/09
[Qemu-devel] [PATCH 40/42] acpi: change TPM TIS data conditions, Marc-André Lureau, 2017/10/09
[Qemu-devel] [PATCH 41/42] tpm-emulator: add a FIXME comment about blocking cancel,
Marc-André Lureau <=
[Qemu-devel] [PATCH 42/42] WIP: add TPM CRB device, Marc-André Lureau, 2017/10/09
Re: [Qemu-devel] [PATCH 00/42] TPM: code cleanup & CRB device, no-reply, 2017/10/09
Re: [Qemu-devel] [PATCH 00/42] TPM: code cleanup & CRB device, Stefan Berger, 2017/10/09
Re: [Qemu-devel] [PATCH 00/42] TPM: code cleanup & CRB device, Stefan Berger, 2017/10/19