Verified with the following on Kinetic
$ sudo su # cat <<EOF >/etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-proposed.list # Enable Ubuntu proposed archive deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted main multiverse universe EOF # exit $ sudo apt update && sudo apt upgrade -y $ sudo apt install swtpm virt-manager
Created a Windows 11 vm with TPM 2.0, then started and stopped it several times
$ sudo ls -la /run/libvirt/qemu/swtpm total 0 drwxrwx--- 2 libvirt-qemu swtpm 40 Dec 5 14:30 . drwxr-xr-x 5 root root 140 Dec 5 14:30 ..
All files were removed properly after shutdown
Verified with the following on Kinetic
$ sudo su sources. list.d/ ubuntu- $(lsb_release -cs)-proposed.list archive. ubuntu. com/ubuntu/ $(lsb_release -cs)-proposed restricted main multiverse universe
# cat <<EOF >/etc/apt/
# Enable Ubuntu proposed archive
deb http://
EOF
# exit
$ sudo apt update && sudo apt upgrade -y
$ sudo apt install swtpm virt-manager
Created a Windows 11 vm with TPM 2.0, then started and stopped it several times
$ sudo ls -la /run/libvirt/ qemu/swtpm
total 0
drwxrwx--- 2 libvirt-qemu swtpm 40 Dec 5 14:30 .
drwxr-xr-x 5 root root 140 Dec 5 14:30 ..
All files were removed properly after shutdown