sculpt_test.run: add '-boot d' to Qemu args

When using '--include image/iso', we want to ensure that the virtual
machine boots from CD-ROM.
This commit is contained in:
Norman Feske 2023-01-20 14:02:47 +01:00 committed by Christian Helmuth
parent ff8f7875f3
commit ffb8321e57

View File

@ -15,6 +15,8 @@ if {![file exists bin/sculpt-ahci.raw]} {
append qemu_args " -device ahci,id=ahci "
append qemu_args " -drive id=hdd,file=$disk_image,format=raw,if=none -device ide-hd,drive=hdd,bus=ahci.1 "
append_if [have_include image/iso] qemu_args " -boot d "
# attach small NVMe disk to Qemu to experiment with file-system access
if {$use_nvme} {
set disk_image "bin/sculpt-nvme.raw"