Skip to content
Snippets Groups Projects
Commit 53b5ce89 authored by John Hodge's avatar John Hodge
Browse files

RunQemu - Add AHCI support

parent ba78deaf
No related merge requests found
...@@ -80,6 +80,11 @@ while [ $# -ne 0 ]; do ...@@ -80,6 +80,11 @@ while [ $# -ne 0 ]; do
QEMU_PARAMS=$QEMU_PARAMS" -device pci-serial,chardev=serial2" QEMU_PARAMS=$QEMU_PARAMS" -device pci-serial,chardev=serial2"
QEMU_PARAMS=$QEMU_PARAMS" -chardev socket,id=serial2,host=localhost,port=10023,server,telnet" QEMU_PARAMS=$QEMU_PARAMS" -chardev socket,id=serial2,host=localhost,port=10023,server,telnet"
;; ;;
-sata)
QEMU_PARAMS=$QEMU_PARAMS" -device ich9-ahci,id=ahci"
QEMU_PARAMS=$QEMU_PARAMS" -drive if=none,id=sata_disk,file=HDD_sata.img"
QEMU_PARAMS=$QEMU_PARAMS" -device ide-drive,drive=sata_disk,bus=ahci.0"
;;
esac esac
shift shift
done done
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment