79c4324644
Change-Id: I2d302dda68298877c65c99147f5bf22186a59aac
34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
From 92e7bc7ac09d5e62f7ff612be3f2e07beb86e67d Mon Sep 17 00:00:00 2001
|
|
From: qihao <qihao@cmss.chinamobile.com>
|
|
Date: Wed, 15 Mar 2023 10:56:44 +0800
|
|
Subject: [PATCH] qemu: tpm: Pass --logfile to swtpm_setup for incoming
|
|
migration
|
|
|
|
cheery-pick from cc21979fae736768db92d0c060ea732ed857327e
|
|
|
|
Good to have for debugging in case something wrong happens during
|
|
incoming migration.
|
|
|
|
Signed-off-by: Eiichi Tsukata <eiichi.tsukata@nutanix.com>
|
|
Signed-off-by: qihao_yewu <qihao_yewu@cmss.chinamobile.com>
|
|
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
|
|
---
|
|
src/qemu/qemu_tpm.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/qemu/qemu_tpm.c b/src/qemu/qemu_tpm.c
|
|
index 601d5cf4e9..5d783f2afc 100644
|
|
--- a/src/qemu/qemu_tpm.c
|
|
+++ b/src/qemu/qemu_tpm.c
|
|
@@ -505,6 +505,7 @@ qemuTPMEmulatorRunSetup(const char *storagepath,
|
|
} else {
|
|
virCommandAddArgList(cmd,
|
|
"--tpm-state", storagepath,
|
|
+ "--logfile", logfile,
|
|
"--overwrite",
|
|
NULL);
|
|
}
|
|
--
|
|
2.25.1
|
|
|