From 5ed4dc3c8cfe3e2862053daf736e727ad7acb327 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 16 Jul 2015 17:21:22 -0500 Subject: sim-scripts/pc386.in: Update command line to new qemu --- sim-scripts/pc386.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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" } -- cgit v1.2.3