There was a recent failure when migrating a production VM
> kvm: tpm-emulator: Setting the stateblob (type 1) failed with a TPM error 0x3 
> a parameter is bad
> kvm: error while loading state for instance 0x0 of device 'tpm-emulator'
> kvm: load of migration failed: Input/output error
and it's not clear what exactly triggered it.

Start collecting logs in /run/qemu-server/<ID>-swtpm.log to have some
information available for any future swtpm failures.

Also add a few more logs in swtpm itself, to better see what exactly
triggers the TPM_BAD_PARAMETER (0x3) error in case such a migration
failure happens again.


swtpm:

Fiona Ebner (1):
  control channel: add error logs upon receiving short input

 src/swtpm/ctrlchannel.c | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)


qemu-server:

Fiona Ebner (2):
  swtpm: enable logging
  swtpm: use start time as prefix for logging

 PVE/QemuServer.pm | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.30.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to