ATA: configure qemu to boot from an IDE drive
This commit is contained in:
parent
5d1b4ed55d
commit
86b0ac95aa
|
@ -8,6 +8,18 @@ version = "0.1.1"
|
|||
panic = "abort"
|
||||
|
||||
[package.metadata.bootimage]
|
||||
run-command = [
|
||||
"qemu-system-x86_64",
|
||||
|
||||
"-device",
|
||||
"piix4-ide,id=ide",
|
||||
|
||||
"-drive",
|
||||
"file={},format=raw,if=none,id=disk",
|
||||
|
||||
"-device",
|
||||
"ide-hd,drive=disk,bus=ide.0"
|
||||
]
|
||||
run-args = [
|
||||
# "--nodefaults",
|
||||
"-cpu",
|
||||
|
@ -38,14 +50,8 @@ run-args = [
|
|||
|
||||
# "-machine", "pcspk-audiodev=0",
|
||||
|
||||
|
||||
"-hdb",
|
||||
"../userland/root_fs/ext2.img",
|
||||
|
||||
|
||||
# "-qmp",
|
||||
# "unix:../qmp-sock,server,nowait",
|
||||
|
||||
]
|
||||
|
||||
test-args = [
|
||||
|
|
Loading…
Reference in a new issue