Fedora - KVM - qemu - Windows 11 guest. error: swtpm at /usr/bin/swtpm does not support TPM 2

 you cannot create and execute VM: Windows 11 Guest in Fedora 40? 

it's SELINUX. you can disable SELINUX or create a rule to avoid the TPM problem. we choose the second one. 

check

  • sudo ausearch -c 'virtqemud' --raw
or
  • sudo ausearch -m avc -ts recent
if results appear, go on

solution:
  • sudo ausearch -m avc -ts recent | grep virtqemud | sudo audit2allow -M local_virtqemud
  • sudo semodule -i local_virtqemud.pp
  • systemctl restart libvirtd


Commenti

Post popolari in questo blog

Teams Incoming Webhook deprecated: Use PowerAutomate - Workflow

Mysql operator S3 innodbcluster backup SECRET CONFIG