diff options
| author | Ross Lagerwall <ross.lagerwall@citrix.com> | 2022-08-01 15:25:25 +0100 |
|---|---|---|
| committer | Stefan Berger <stefanb@linux.ibm.com> | 2022-09-09 17:55:45 -0400 |
| commit | a0bcec03761477371ff7c2e80dc07fff14222d92 (patch) | |
| tree | 9bdd6968b7d5bfbc7c08ae16a3ba808999bd4e9b /scripts/qapi/common.py | |
| parent | 79dfa177ae348bb5ab5f97c0915359b13d6186e2 (diff) | |
| download | focaccia-qemu-a0bcec03761477371ff7c2e80dc07fff14222d92.tar.gz focaccia-qemu-a0bcec03761477371ff7c2e80dc07fff14222d92.zip | |
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>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions