tests/qtest: rename qtest_send_prefix and roll-up into qtest_send
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 7 Feb 2025 15:31:00 +0000 (15:31 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 10 Feb 2025 13:47:58 +0000 (13:47 +0000)
commit31ef3c333db3b1293b65da0e8fe602ad5ebcd698
tree027fbd3031952d7ee40953c0d90a3a8cd0e6a30f
parent1e00ebfd8012061c1186fbf368b4216ac6e299c4
tests/qtest: rename qtest_send_prefix and roll-up into qtest_send

qtest_send_prefix never actually sent something over the chardev, all
it does is print the timestamp to the QTEST_LOG when enabled. So
rename the function, make it static, remove the unused CharDev and
simplify all the call sites by handling that directly with
qtest_send (and qtest_log_send).

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250207153112.3939799-6-alex.bennee@linaro.org>
hw/ppc/spapr_rtas.c
hw/riscv/riscv_hart.c
include/system/qtest.h
system/qtest.c