With some tweaking (e.g. by creating temporary image files), we can check whether the docs/config/q35-*.cfg files can be loaded by QEMU successfully, so we can avoid that these files bitrot and avoid that our config file parser gets regressions.
Thomas Huth (3): tests/qtest/readconfig-test: Allow testing for arbitrary memory sizes tests/qtest: Move mkimg() and have_qemu_img() from libqos to libqtest tests/qtest/readconfig: Test the docs/config/q35-*.cfg files tests/qtest/libqos/libqos.h | 2 - tests/qtest/libqtest.h | 20 ++++ tests/qtest/libqos/libqos.c | 49 +------- tests/qtest/libqtest.c | 52 +++++++++ tests/qtest/readconfig-test.c | 204 +++++++++++++++++++++++++++++++++- 5 files changed, 273 insertions(+), 54 deletions(-) -- 2.39.3