#Windows-11 VM in virt-manager swtpm exitstatus

1 messages · Page 1 of 1 (latest)

west dagger
#

When trying to create a new VM with win11 i get the following error:

Unable to complete install: 'internal error: Could not run '/usr/bin/swtpm_setup'. exitstatus: 1; Check error log '/var/log/swtpm/libvirt/qemu/win11-2-swtpm.log' for details.'

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/createvm.py", line 2008, in _do_async_install
installer.start_install(guest, meter=meter)
File "/usr/share/virt-manager/virtinst/install/installer.py", line 695, in start_install
domain = self._create_guest(
^^^^^^^^^^^^^^^^^^^
File "/usr/share/virt-manager/virtinst/install/installer.py", line 637, in _create_guest
domain = self.conn.createXML(initial_xml or final_xml, 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/libvirt.py", line 4481, in createXML
raise libvirtError('virDomainCreateXML() failed')
libvirt.libvirtError: internal error: Could not run '/usr/bin/swtpm_setup'. exitstatus: 1; Check error log '/var/log/swtpm/libvirt/qemu/win11-2-swtpm.log' for details.

Log output: https://pastebin.com/TEH2E0CV

USE-flags set:
https://pastebin.com/Lk8NHpwU

Groups my user is in:
wheel audio video kvm libvirt plugdev fred

If you have any suggestions on 1. fix the issue and 2. possibly trim it down, let me know

rocky lagoon
#

Could not find certtool in PATH.

#

install whatever package provides certtool.