Comment 25 for bug 1903864

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I've checked that the swtpm style is still working:

The following does not expose new-issues due to the upgrade:
$ qemu-system-x86_64 -display none -accel kvm -m 1024 -chardev socket,id=chrtpm,path=/tmp/mytpm1/swtpm-sock -tpmdev emulator,id=tpm0,chardev=chrtpm -device tpm-tis,tpmdev=tpm0

But I have OTOH failed to verify the positive effect.
The command working in later releases like:
 $ lxc config device add f tpm tpm path=/dev/tpm0
 # Then in the container
 $ sudo qemu-system-x86_64 -nodefaults -S -display none -monitor stdio -tpmdev passthrough,id=tpm0,path=/dev/tpm0 -device tpm-tis,tpmdev=tpm0

Keeps failing for me on the backports for Focal/Groovy.
I have double checked if the build really contains the changes we have tested successfully from the PPA and it seems it does.

But then my setup was never super-great emulating much of what should be real.

@Andre - If you could give the builds in -proposed a try just as you did in comment #14 / #15 that would be great and very helpful!