Comment 4 for bug 1990499

Revision history for this message
Isaac True (itrue) wrote :

@Heinrich

On 22.10 daily with qemu-system-misc 7.0+dfsg-7ubuntu2 I still get the AppArmor exception due to the U-Boot binary:

Sep 22 17:19:52 vm-kinetic libvirtd[14801]: internal error: Child process (LIBVIRT_LOG_OUTPUTS=3:stderr /usr/lib/libvirt/virt-aa-helper -c -u libvirt-65ce8bc3-7adf-465b-b2d8-438942789983) unexpected exit status 1: virt-aa-helper: error: /usr/lib/u-boot/qemu-riscv64_smode/uboot.elf#012virt-aa-helper: error: skipped restricted file#012virt-aa-helper: error: invalid VM definition

Moving the binary to /var/tmp/uboot.elf allows it to boot (as on 22.04) without specifying the fw_jump.elf binary as the loader.