mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-25 10:23:23 +00:00
Use source compiled OVMF in Asterinas
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
6912cca51f
commit
93602e9fce
@ -155,7 +155,7 @@ if [ "$OVMF" = "on" ]; then
|
|||||||
if [ "$1" = "test" ]; then
|
if [ "$1" = "test" ]; then
|
||||||
echo "We use QEMU direct boot for testing, which does not support OVMF, ignoring OVMF" 1>&2
|
echo "We use QEMU direct boot for testing, which does not support OVMF, ignoring OVMF" 1>&2
|
||||||
else
|
else
|
||||||
OVMF_PATH="/usr/share/OVMF"
|
OVMF_PATH="/root/ovmf/release"
|
||||||
QEMU_ARGS="${QEMU_ARGS} \
|
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=0,readonly=on,file=$OVMF_PATH/OVMF_CODE.fd \
|
||||||
-drive if=pflash,format=raw,unit=1,file=$OVMF_PATH/OVMF_VARS.fd \
|
-drive if=pflash,format=raw,unit=1,file=$OVMF_PATH/OVMF_VARS.fd \
|
||||||
|
Reference in New Issue
Block a user