]> Git Repo - qemu.git/commit
tests: use qtest_pc_boot()/qtest_shutdown() in virtio tests
authorLaurent Vivier <[email protected]>
Mon, 17 Oct 2016 10:30:23 +0000 (12:30 +0200)
committerDavid Gibson <[email protected]>
Thu, 27 Oct 2016 22:36:58 +0000 (09:36 +1100)
commita980f7f2c2f4d7e9a1eba4f804cd66dbd458b6d4
tree35784487e8711440578954fb5e7113686b2bf694
parent8b4b80c37630e976f2dd02a7d42bd9bea1ce676e
tests: use qtest_pc_boot()/qtest_shutdown() in virtio tests

This patch replaces calls to qtest_start() and qtest_end() by
calls to qtest_pc_boot() and qtest_shutdown().

This allows to initialize memory allocator and PCI interface
functions. This will ease to enable virtio tests on other
architectures by only adding a specific qtest_XXX_boot() (like
qtest_spapr_boot()).

Signed-off-by: Laurent Vivier <[email protected]>
Reviewed-by: Greg Kurz <[email protected]>
Signed-off-by: David Gibson <[email protected]>
tests/virtio-9p-test.c
tests/virtio-blk-test.c
tests/virtio-net-test.c
tests/virtio-scsi-test.c
This page took 0.026857 seconds and 4 git commands to generate.