From 0fd006d6c3c736ab4b7b49aec023405cfb388822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Thu, 24 Apr 2025 17:12:00 +0200 Subject: [PATCH] Add test for hades --- test.sh | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/test.sh b/test.sh index 71bc228..eca7d32 100755 --- a/test.sh +++ b/test.sh @@ -79,8 +79,6 @@ qemuopts=( "-accel" "kvm" - "-drive" "if=pflash,format=raw,readonly=true,file=/usr/share/edk2/x64/OVMF_CODE.4m.fd" - "-drive" "if=pflash,format=raw,file=${tmpdir}/efivars.fd" "-machine" "q35,smm=on,acpi=on" "-smp" "cpus=8,sockets=1,cores=8,threads=1" "-cpu" "host" @@ -253,10 +251,23 @@ download_iso for hostname in "${machines[@]}"; do case "${hostname}" in ares) - hostqemuopts=("-device" "ide-hd,drive=root") + hostqemuopts=( + "-device" "ide-hd,drive=root" + "-drive" "if=pflash,format=raw,readonly=true,file=/usr/share/edk2/x64/OVMF_CODE.4m.fd" + "-drive" "if=pflash,format=raw,file=${tmpdir}/efivars.fd" + ) ;; neptune) - hostqemuopts=("-device" "nvme,serial=rootnvme,drive=root") + hostqemuopts=( + "-device" "nvme,serial=rootnvme,drive=root" + "-drive" "if=pflash,format=raw,readonly=true,file=/usr/share/edk2/x64/OVMF_CODE.4m.fd" + "-drive" "if=pflash,format=raw,file=${tmpdir}/efivars.fd" + ) + ;; + hades) + hostqemuopts=( + "-device" "ide-hd,drive=root" + ) ;; *) exit 1