In the disscuss of adding reboot timeout test case: https://lists.gnu.org/archive/html/qemu-devel/2019-04/msg03304.html
Philippe suggested we should uses the only related option for one specific test. However currently we uses one QTestState for all the test cases. In order to achieve Philippe's idea, I split the test case for its own QTestState. As this patchset has changed a lot, I don't bump the version. Change since v1: Add a patch to store the reboot_timeout as little endian Fix the endian issue per Thomas's review Li Qiang (5): tests: refactor fw_cfg_test tests: fw_cfg: add a function to get the fw_cfg file fw_cfg: reboot: store reboot-timeout as little endian tests: fw_cfg: add reboot_timeout test case tests: fw_cfg: add splash time test case hw/nvram/fw_cfg.c | 4 +- tests/fw_cfg-test.c | 125 +++++++++++++++++++++++++++++++++++++++--- tests/libqos/fw_cfg.c | 55 +++++++++++++++++++ tests/libqos/fw_cfg.h | 9 +++ 4 files changed, 184 insertions(+), 9 deletions(-) -- 2.17.1