[PATCH] qemu: tpm: Pass --logfile to swtpm_setup for incoming migration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Eiichi Tsukata <eiichi.tsukata@xxxxxxxxxxx>
---
 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 982e5f13b6..f4344de663 100644
--- a/src/qemu/qemu_tpm.c
+++ b/src/qemu/qemu_tpm.c
@@ -427,6 +427,7 @@ qemuTPMEmulatorRunSetup(const char *storagepath,
     } else {
         virCommandAddArgList(cmd,
                              "--tpm-state", storagepath,
+                             "--logfile", logfile,
                              "--overwrite",
                              NULL);
     }
-- 
2.39.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux