[PATCH v2 1/7] tester: Change the QEMU command line to match the RSB built QEMU.

chrisj at rtems.org chrisj at rtems.org
Mon Nov 26 00:56:19 UTC 2018


From: Chris Johns <chrisj at rtems.org>

The command line changed and the RSB is the newer version. Make
the old version via a config variable.
---
 tester/rtems/testing/qemu.cfg | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/tester/rtems/testing/qemu.cfg b/tester/rtems/testing/qemu.cfg
index 52a3752..e37dc9b 100644
--- a/tester/rtems/testing/qemu.cfg
+++ b/tester/rtems/testing/qemu.cfg
@@ -51,8 +51,11 @@
 #
 # Qemu common option patterns.
 #
-%define qemu_opts_base   -no-reboot -monitor none -serial stdio -nographic
-#%define qemu_opts_base   -no-reboot -serial null -serial mon:stdio -nographic
+%if %{defined qemu_use_serial_console}
+ %define qemu_opts_base -no-reboot -monitor none -serial stdio -nographic
+%else
+ %define qemu_opts_base -no-reboot -serial null -serial mon:stdio -nographic
+%endif
 %define qemu_opts_no_net -net none
 
 #
-- 
2.14.1




More information about the devel mailing list