Hello Christian,

basically it is the same what people do here:
https://askubuntu.com/questions/1365829/qemu-failed-to-passthrough-a-tpm-device

Except that you need to write "/dev/tpm0 rm," into the file, as the
colon is missing and starting a VM will give you complaints on an
AppArmor rule.

In my opinion, the best solution would be either to let libvirt add an
exception when starting a VM that needs a TPM passthrough or the
exception will be made in an Apparmor file for libvirt users and its
spawned processes.

Regards,
Thomas

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

Title:
  using tpm reports "/dev/tpm0: Permission denied"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1913552/+subscriptions


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

Reply via email to