Defaults to "-kernel", but can be changed to, for example, "-bios". --- tester/rtems/testing/qemu.cfg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tester/rtems/testing/qemu.cfg b/tester/rtems/testing/qemu.cfg index 3c51bee..0b592ef 100644 --- a/tester/rtems/testing/qemu.cfg +++ b/tester/rtems/testing/qemu.cfg @@ -78,6 +78,9 @@ %ifn %{defined bsp_qemu_extra_opts} %define bsp_qemu_extra_opts %{nil} %endif +%ifn %{defined bsp_qemu_image_type} + %define bsp_qemu_image_type -kernel +%endif %define qemu_cmd qemu-system-%{bsp_arch} %define qemu_opts %{bsp_qemu_opts} %{bsp_qemu_cov_opts} @@ -85,4 +88,4 @@ # # Executable # -%execute %{qemu_cmd} %{qemu_opts} %{bsp_qemu_extra_opts} -kernel %{test_executable} +%execute %{qemu_cmd} %{qemu_opts} %{bsp_qemu_extra_opts} %{bsp_qemu_image_type} %{test_executable} -- 2.34.1 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel