Skip to content

Commit

Permalink
.github/scripts/run-qemu.sh: run with graphic ON by default
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Pijanowski <[email protected]>
  • Loading branch information
macpijan committed Oct 11, 2023
1 parent 5316967 commit d1e8c1c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/scripts/run-qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@

cp ./Build/OvmfX64/RELEASE_GCC5/FV/OVMF_VARS.fd /tmp/OVMF_VARS.fd

qemu-system-x86_64 -machine q35,smm=on \
q35_params="-machine q35,smm=on \
-global driver=cfi.pflash01,property=secure,value=on \
-drive if=pflash,format=raw,unit=0,file=Build/OvmfX64/RELEASE_GCC5/FV/OVMF_CODE.fd,readonly=on \
-drive if=pflash,format=raw,unit=1,file=/tmp/OVMF_VARS.fd \
-debugcon file:debug.log -global isa-debugcon.iobase=0x402 \
-global ICH9-LPC.disable_s3=1 \
-qmp unix:/tmp/qmp-socket,server,nowait \
-net none \
-serial telnet:localhost:1234,server,nowait \
-nographic
-serial telnet:localhost:1234,server,nowait"

if [ "$1" == "nographic" ]; then
qemu-system-x86_64 $q35_params -nographic
else
qemu-system-x86_64 $q35_params
fi

0 comments on commit d1e8c1c

Please sign in to comment.