[rtems-testing commit] sim-scripts/pc386.in: Update command line to new qemu

Joel Sherril joel at rtems.org
Thu Jul 16 22:22:32 UTC 2015


Module:    rtems-testing
Branch:    master
Commit:    5ed4dc3c8cfe3e2862053daf736e727ad7acb327
Changeset: http://git.rtems.org/rtems-testing/commit/?id=5ed4dc3c8cfe3e2862053daf736e727ad7acb327

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Thu Jul 16 17:21:22 2015 -0500

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"
 }
 



More information about the vc mailing list