mirror of https://gitee.com/openkylin/qemu.git
tpm-emulator: add a FIXME comment about blocking cancel
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>
This commit is contained in:
parent
ff5ce21e1b
commit
3d01141144
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue