projects
/
openwrt
/
staging
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58c1975
)
scripts: qemustart: Fix x86/legacy bootup
author
Hauke Mehrtens
<hauke@hauke-m.de>
Mon, 14 Aug 2023 21:33:49 +0000
(23:33 +0200)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Mon, 14 Aug 2023 21:37:04 +0000
(23:37 +0200)
The ide-drive option was renamed to ide-hd in qemu 6.0.
With this change qemu is starting again on Debian 12.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
scripts/qemustart
patch
|
blob
|
history
diff --git
a/scripts/qemustart
b/scripts/qemustart
index f6a46551294fc3d546811acf5ac0a85af45de19f..6c4c9be4cb0a898a34f518476b12badec41383d2 100755
(executable)
--- a/
scripts/qemustart
+++ b/
scripts/qemustart
@@
-309,12
+309,12
@@
start_qemu_x86() {
# To use AHCI interface
#
# -device ich9-ahci,id=ahci \
- # -device ide-
drive
,drive=drv0,bus=ahci.0 \
+ # -device ide-
hd
,drive=drv0,bus=ahci.0 \
# -drive "file=$rootfs,format=raw,id=drv0,if=none" \
#
# [1] https://dev.openwrt.org/ticket/17947
"$qemu_exe" -machine "$mach" -nographic \
- -device ide-
drive
,drive=drv0 \
+ -device ide-
hd
,drive=drv0 \
-drive "file=$rootfs,format=raw,id=drv0,if=none" \
"${o_qemu_extra[@]}"
;;