This is the work from Li Qiang, I added few changes while preparing the pull request. If Li is OK with it, I'll send as it.
Since v2: - split 1st patch - clarified commit description based on review comments on list Since v1: - Add a patch to store the reboot_timeout as little endian v2: https://lists.gnu.org/archive/html/qemu-devel/2019-04/msg04064.html v1: https://lists.gnu.org/archive/html/qemu-devel/2019-03/msg05679.html Li Qiang (5): tests: refactor fw_cfg_test tests: fw_cfg: add a function to get the fw_cfg file hw/nvram/fw_cfg: Store 'reboot-timeout' as little endian tests: fw_cfg: add 'reboot-timeout' test case tests: fw_cfg: add 'splash-time' test case Philippe Mathieu-Daudé (2): tests/libqos: Add io_fw_cfg_uninit() and mm_fw_cfg_uninit() tests/libqos: Add pc_fw_cfg_uninit() and use it hw/nvram/fw_cfg.c | 4 +- tests/fw_cfg-test.c | 127 +++++++++++++++++++++++++++++++++++---- tests/libqos/fw_cfg.c | 55 +++++++++++++++++ tests/libqos/fw_cfg.h | 9 +++ tests/libqos/malloc-pc.c | 2 +- 5 files changed, 184 insertions(+), 13 deletions(-) -- 2.20.1