From testing it seems this shows up due to swtpm_setup using the openssl config for key setup information. I managed to fix the issue by adding
#include <abstractions/openssl>
to the TEMPLATE.qemu file in the apparmor directory. I tested with the ppa:
ppa:lvoytek/libvirt-allow-openssl-qemu-jammy
From testing it seems this shows up due to swtpm_setup using the openssl config for key setup information. I managed to fix the issue by adding
#include <abstractions/ openssl>
to the TEMPLATE.qemu file in the apparmor directory. I tested with the ppa:
ppa:lvoytek/ libvirt- allow-openssl- qemu-jammy