diff options
author | Laurent Vivier <lvivier@redhat.com> | 2016-10-17 12:30:23 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2016-10-28 09:36:58 +1100 |
commit | a980f7f2c2f4d7e9a1eba4f804cd66dbd458b6d4 (patch) | |
tree | 35784487e8711440578954fb5e7113686b2bf694 /blockdev-nbd.c | |
parent | 8b4b80c37630e976f2dd02a7d42bd9bea1ce676e (diff) |
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 <lvivier@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'blockdev-nbd.c')
0 files changed, 0 insertions, 0 deletions