summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2015-07-16 17:21:22 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-07-16 17:21:22 -0500
commit5ed4dc3c8cfe3e2862053daf736e727ad7acb327 (patch)
tree40022a4e5611b9dc963c5f17cb055e6be7e08787
parente8fb56ed7ec04a56593ec6bd2d8969f644d7146b (diff)
sim-scripts/pc386.in: Update command line to new qemu
-rw-r--r--sim-scripts/pc386.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/sim-scripts/pc386.in b/sim-scripts/pc386.in
index c4e15da..f263f39 100644
--- a/sim-scripts/pc386.in
+++ b/sim-scripts/pc386.in
@@ -84,8 +84,14 @@ runARGS()
else
CPUARGS="-cpu core2duo -smp ${number_of_cores}"
fi
+ #
+ # This works with older Qemu's but results in noise in 2.3.50
+ # -fda ${fd0Image} -hda fat:${hd0Dir}
+ # So it was changed to the -drive argument scheme
echo "-m 512 -boot a ${CPUARGS} \
- -fda ${fd0Image} -hda fat:${hd0Dir} ${COVERAGE_ARG} \
+ -drive file=${fd0Image},index=0,if=floppy,format=raw \
+ -drive file=fat:${hd0Dir},format=raw \
+ ${COVERAGE_ARG} \
-monitor null ${GRAPHIC_ARG} -serial ${SERIAL_ARG} --no-reboot"
}