qemu-e2k/backends/tpm
Ross Lagerwall a0bcec0376 tpm_emulator: Avoid double initialization during migration
When resuming after a migration, the backend sends CMD_INIT to the
emulator from the startup callback, then it sends the migration state
from the vmstate to the emulator, then it sends CMD_INIT again. Skip the
first CMD_INIT during a migration to avoid initializing the TPM twice.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Tested-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2022-09-09 17:55:45 -04:00
..
Kconfig
meson.build configure, meson: move TPM check to meson 2022-02-21 10:35:53 +01:00
tpm_backend.c
tpm_emulator.c tpm_emulator: Avoid double initialization during migration 2022-09-09 17:55:45 -04:00
tpm_int.h
tpm_ioctl.h backends/tpm: Exclude headers and macros that don't exist on win32 2022-08-25 15:24:09 +02:00
tpm_passthrough.c Remove qemu-common.h include from most units 2022-04-06 14:31:55 +02:00
tpm_util.c qdev: Rename qdev_get_prop_ptr() to object_field_prop_ptr() 2020-12-18 15:20:18 -05:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00