Re: [PATCH 2/4] qemu_tpm: Generate log file path among with storage path

2021-03-01 Thread Ján Tomko
On a Monday in 2021, Michal Privoznik wrote: When starting a guest with TPM of type='emulator' an external process is started with it (swtmp) to emulat TPM. This external *swtpm *emulate process is passed path to a log file via --logfile. The path to the log file is generated in

[PATCH 2/4] qemu_tpm: Generate log file path among with storage path

2021-03-01 Thread Michal Privoznik
When starting a guest with TPM of type='emulator' an external process is started with it (swtmp) to emulat TPM. This external process is passed path to a log file via --logfile. The path to the log file is generated in qemuTPMEmulatorPrepareHost() which works, until the daemon is restarted. The