From: Andrea Bolognani Date: Fri, 12 Dec 2025 15:18:24 +0000 (+0100) Subject: tests: Add firmware-auto-bios-rw X-Git-Tag: v12.0.0-rc1~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07bcd51bcb6a2370f83dadd9f066acebf3157dc2;p=thirdparty%2Flibvirt.git tests: Add firmware-auto-bios-rw This test cases demonstrates that the firmware autoselection process is unable to find a BIOS image that is read/write. This is expected, as BIOS is loaded as ROM and is thus by definition read-only. Signed-off-by: Andrea Bolognani Reviewed-by: Michal Privoznik --- diff --git a/tests/qemuxmlconfdata/firmware-auto-bios-rw.x86_64-latest.err b/tests/qemuxmlconfdata/firmware-auto-bios-rw.x86_64-latest.err new file mode 100644 index 0000000000..743fe27a97 --- /dev/null +++ b/tests/qemuxmlconfdata/firmware-auto-bios-rw.x86_64-latest.err @@ -0,0 +1 @@ +operation failed: Unable to find 'bios' firmware that is compatible with the current configuration diff --git a/tests/qemuxmlconfdata/firmware-auto-bios-rw.x86_64-latest.xml b/tests/qemuxmlconfdata/firmware-auto-bios-rw.x86_64-latest.xml new file mode 100644 index 0000000000..b8916c30d9 --- /dev/null +++ b/tests/qemuxmlconfdata/firmware-auto-bios-rw.x86_64-latest.xml @@ -0,0 +1,35 @@ + + guest + 63840878-0deb-4095-97e6-fc444d9bc9fa + 1048576 + 1048576 + 1 + + hvm + + + + + + + + qemu64 + + + destroy + restart + destroy + + /usr/bin/qemu-system-x86_64 + + +
+ + + + +