diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2023-08-14 23:33:49 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-08-15 17:19:05 +0200 |
commit | c57275df675e2a585bff1c59f71291bc32f1e103 (patch) | |
tree | 845f1b3cf36f56c450b15cbebcc6e059e43f834d /scripts | |
parent | dd30399caefbb5418653f693e9af871741b4d03d (diff) | |
download | upstream-c57275df675e2a585bff1c59f71291bc32f1e103.tar.gz upstream-c57275df675e2a585bff1c59f71291bc32f1e103.tar.bz2 upstream-c57275df675e2a585bff1c59f71291bc32f1e103.zip |
scripts: qemustart: Fix x86/legacy bootup
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>
(cherry picked from commit 497012ab4eb1f37cbbbff9a766d2fecdb43dd0db)
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/qemustart | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/qemustart b/scripts/qemustart index f6a4655129..6c4c9be4cb 100755 --- 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[@]}" ;; |