Public bug reported:

Split from a different bug at
https://bugs.launchpad.net/launchpad/+bug/1903864/comments/12

--- quote ---

Hey,

I was able to reboot my machine and run some tests tonight. From my
side, I am following the template in the following link:
https://github.com/ohthehugemanatee/win10vm. Same company, same
limitations - I am just skipping the networking part for now.

First, your command looks good:

ubuntu@ubuntu:~$ sudo qemu-system-x86_64 -nodefaults -S -display none -monitor 
stdio -tpmdev passthrough,id=tpm0,path=/dev/tpm0 -device tpm-tis,tpmdev=tpm0
QEMU 5.2.0 monitor - type 'help' for more information
(qemu)

For my VM, I do get past tpm (yey!), but I am stuck on this other issue.
I am attaching the results of the commands bellow with LIBVIRT_DEBUG=1.
Sorry, I am really just guessing that this is the debugging info needed.

ubuntu@ubuntu:~$ virsh start win10.2
error: Failed to start domain win10.2
error: Could not open TPM device /dev/tpm0: Permission denied

ubuntu@ubuntu:~$ sudo virsh start win10.2
error: failed to get domain 'win10.2'

--- end quote ---

** Affects: libvirt (Ubuntu)
     Importance: Undecided
     Assignee: André Abrantes (andreadps)
         Status: Incomplete

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to