qemu: tpm: Pass --logfile to swtpm_setup for incoming migration

Good to have for debugging in case something wrong happens during
incoming migration.

Signed-off-by: Eiichi Tsukata <eiichi.tsukata@nutanix.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Eiichi Tsukata 2023-03-10 04:59:18 +00:00 committed by Michal Privoznik
parent 61d51c9c41
commit cc21979fae

View File

@ -427,6 +427,7 @@ qemuTPMEmulatorRunSetup(const char *storagepath,
} else {
virCommandAddArgList(cmd,
"--tpm-state", storagepath,
"--logfile", logfile,
"--overwrite",
NULL);
}