mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-09 14:35:25 +00:00
apparmor: Allow running loongarch64 VMs
Allows to load firmware in the qemu-efi-loongarch64 directory Allows the binary qemu-system-loongarch64 to be run This makes it possible to run loongarch64 VMs when AppArmor is enabled Signed-off-by: Xianglai Li <lixianglai@loongson.cn> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
247357cc29
commit
a91b22ffc6
@ -144,6 +144,7 @@
|
|||||||
/usr/bin/qemu-system-hppa rmix,
|
/usr/bin/qemu-system-hppa rmix,
|
||||||
/usr/bin/qemu-system-i386 rmix,
|
/usr/bin/qemu-system-i386 rmix,
|
||||||
/usr/bin/qemu-system-lm32 rmix,
|
/usr/bin/qemu-system-lm32 rmix,
|
||||||
|
/usr/bin/qemu-system-loongarch64 rmix,
|
||||||
/usr/bin/qemu-system-m68k rmix,
|
/usr/bin/qemu-system-m68k rmix,
|
||||||
/usr/bin/qemu-system-microblaze rmix,
|
/usr/bin/qemu-system-microblaze rmix,
|
||||||
/usr/bin/qemu-system-microblazeel rmix,
|
/usr/bin/qemu-system-microblazeel rmix,
|
||||||
|
@ -481,6 +481,7 @@ valid_path(const char *path, const bool readonly)
|
|||||||
"/usr/share/AAVMF/",
|
"/usr/share/AAVMF/",
|
||||||
"/usr/share/qemu-efi/", /* for AAVMF images */
|
"/usr/share/qemu-efi/", /* for AAVMF images */
|
||||||
"/usr/share/qemu-efi-aarch64/",
|
"/usr/share/qemu-efi-aarch64/",
|
||||||
|
"/usr/share/qemu-efi-loongarch64/",
|
||||||
"/usr/share/qemu-efi-riscv64/",
|
"/usr/share/qemu-efi-riscv64/",
|
||||||
"/usr/share/qemu/", /* SUSE path for OVMF and AAVMF images */
|
"/usr/share/qemu/", /* SUSE path for OVMF and AAVMF images */
|
||||||
"/usr/lib/u-boot/",
|
"/usr/lib/u-boot/",
|
||||||
|
Loading…
Reference in New Issue
Block a user