Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163692744
D20074.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D20074.diff
View Options
Index: head/tools/boot/ci-qemu-test.sh
===================================================================
--- head/tools/boot/ci-qemu-test.sh
+++ head/tools/boot/ci-qemu-test.sh
@@ -81,10 +81,10 @@
die "Cannot locate top of source tree"
fi
-# Locate the uefi bios file used by qemu.
-: ${OVMF:=/usr/local/share/UEFI-firmware/QEMU_UEFI_CODE_x86_64.fd}
+# Locate the uefi firmware file used by qemu.
+: ${OVMF:=/usr/local/share/uefi-edk2-qemu/QEMU_UEFI_CODE-x86_64.fd}
if [ ! -r "${OVMF}" ]; then
- die "Cannot read UEFI bios file ${OVMF}"
+ die "Cannot read UEFI firmware file ${OVMF}"
fi
# Create a temp dir to hold the boot image.
@@ -97,7 +97,8 @@
# And, boot in QEMU.
: ${BOOTLOG:=${TMPDIR:-/tmp}/ci-qemu-test-boot.log}
timeout 300 \
- qemu-system-x86_64 -m 256M -bios ${OVMF} \
+ qemu-system-x86_64 -M q35 -m 256M -nodefaults \
+ -drive if=pflash,format=raw,readonly,file=${OVMF} \
-serial stdio -vga none -nographic -monitor none \
-snapshot -hda fat:${ROOTDIR} 2>&1 | tee ${BOOTLOG}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jul 26, 1:05 PM (3 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35530840
Default Alt Text
D20074.diff (1 KB)
Attached To
Mode
D20074: Fix tools/boot/ci-qemu-test.sh and make some improvements
Attached
Detach File
Event Timeline
Log In to Comment