From 93602e9fce3dc0669df3b94b89e4c70f4ee0905b Mon Sep 17 00:00:00 2001 From: Hsy-Intel Date: Tue, 22 Apr 2025 09:15:42 +0800 Subject: [PATCH] Use source compiled OVMF in Asterinas --- tools/qemu_args.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qemu_args.sh b/tools/qemu_args.sh index ed6007077..2e54dcb33 100755 --- a/tools/qemu_args.sh +++ b/tools/qemu_args.sh @@ -155,7 +155,7 @@ if [ "$OVMF" = "on" ]; then if [ "$1" = "test" ]; then echo "We use QEMU direct boot for testing, which does not support OVMF, ignoring OVMF" 1>&2 else - OVMF_PATH="/usr/share/OVMF" + OVMF_PATH="/root/ovmf/release" QEMU_ARGS="${QEMU_ARGS} \ -drive if=pflash,format=raw,unit=0,readonly=on,file=$OVMF_PATH/OVMF_CODE.fd \ -drive if=pflash,format=raw,unit=1,file=$OVMF_PATH/OVMF_VARS.fd \