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!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1903864

Title:
  qemu-system-x86_64: -device tpm-tis,tpmdev=tpm-tpm0,id=tpm0: Property
  'tpm-tis.tpmdev' can't find value 'tpm-tpm0'

To manage notifications about this bug go to:
https://bugs.launchpad.net/launchpad/+bug/1903864/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to