summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xscripts/qemu.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/qemu.sh b/scripts/qemu.sh
index b75bed4..123d9d0 100755
--- a/scripts/qemu.sh
+++ b/scripts/qemu.sh
@@ -40,7 +40,10 @@ while [ $# -gt 0 ]; do
40 ;; 40 ;;
41 --image | -i) 41 --image | -i)
42 _img_file="$(printf -- '-drive file=%s,format=raw,if=none,id=hd' "$2")" 42 _img_file="$(printf -- '-drive file=%s,format=raw,if=none,id=hd' "$2")"
43 DRIVE_ARGS=("$_img_file" '-device' 'ide-hd,drive=hd') 43 # Explicit buses: data disk -> ide.0 (port 0), ESP -> ide.1.
44 DRIVE_ARGS=("$_img_file" '-device' 'ide-hd,drive=hd,bus=ide.0' \
45 '-drive' 'file=fat:rw:esp,format=raw,if=none,id=esp' \
46 '-device' 'ide-hd,drive=esp,bus=ide.1')
44 shift 2 47 shift 2
45 ;; 48 ;;
46 --bios | -b) 49 --bios | -b)