projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff5ce21
)
tpm-emulator: add a FIXME comment about blocking cancel
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Mon, 6 Nov 2017 18:39:19 +0000
(19:39 +0100)
committer
Stefan Berger
<stefanb@linux.vnet.ibm.com>
Fri, 15 Dec 2017 04:39:15 +0000
(23:39 -0500)
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
hw/tpm/tpm_emulator.c
patch
|
blob
|
history
diff --git
a/hw/tpm/tpm_emulator.c
b/hw/tpm/tpm_emulator.c
index 94e6660a5a8a06a31f8e0913d193667c6dc573b3..24cb61162fefc181f8bf7a6785caa6542eca358d 100644
(file)
--- a/
hw/tpm/tpm_emulator.c
+++ b/
hw/tpm/tpm_emulator.c
@@
-338,6
+338,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, CMD_CANCEL_TPM_CMD, &res, 0,
sizeof(res)) < 0) {
error_report("tpm-emulator: Could not cancel command: %s",