diff options
| author | Ross Lagerwall | 2022-08-01 16:25:25 +0200 |
|---|---|---|
| committer | Stefan Berger | 2022-09-09 23:55:45 +0200 |
| commit | a0bcec03761477371ff7c2e80dc07fff14222d92 (patch) | |
| tree | 9bdd6968b7d5bfbc7c08ae16a3ba808999bd4e9b /fsdev | |
| parent | Merge tag 'pull-qapi-2022-09-07' of git://repo.or.cz/qemu/armbru into staging (diff) | |
| download | qemu-a0bcec03761477371ff7c2e80dc07fff14222d92.tar.gz qemu-a0bcec03761477371ff7c2e80dc07fff14222d92.tar.xz 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 'fsdev')
0 files changed, 0 insertions, 0 deletions
