Skip to content

Commit a643781

Browse files
author
Ian Seyler
committed
Add -device VGA arguments
1 parent 5f7b57b commit a643781

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

baremetal.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function baremetal_setup {
5454
cd ..
5555
echo "OK"
5656
else
57-
echo -n "Skipping UEFI firmware download due to missing mtools..."
57+
echo "Skipping UEFI firmware download due to missing mtools..."
5858
fi
5959

6060
echo -n "Preparing dependancies... "
@@ -264,6 +264,8 @@ function baremetal_run {
264264
-m 256
265265
-smp sockets=1,cpus=4
266266

267+
# Video
268+
-device VGA,edid=on,xres=1024,yres=768
267269
# Network configuration. Use one controller.
268270
-netdev socket,id=testnet1,listen=:1234
269271
# -netdev socket,id=testnet2,listen=:1235
@@ -334,6 +336,8 @@ function baremetal_run-uefi {
334336
-smp sockets=1,cpus=4
335337
# -cpu qemu64,pdpe1gb # Support for 1GiB pages
336338

339+
# Video
340+
-device VGA,edid=on,xres=1024,yres=768
337341
# Network
338342
-netdev socket,id=testnet,listen=:1234
339343
# On a second machine uncomment the line below, comment the line above, and change the mac

0 commit comments

Comments
 (0)