migration/savevm: move non SaveStateEntry condition check out of iteration
[qemu/ar7.git] / tests / virtio-test.c
blobf7c6afdcf11130a173a042db3a04eecc51d68a9b
1 /*
2 * QTest testcase for virtio
4 * Copyright (c) 2018 Red Hat, Inc.
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */
10 #include "qemu/osdep.h"
11 #include "libqtest.h"
12 #include "qemu/module.h"
13 #include "libqos/qgraph.h"
14 #include "libqos/pci.h"
16 /* Tests only initialization so far. TODO: Replace with functional tests */
17 static void nop(void *obj, void *data, QGuestAllocator *alloc)
21 static void register_virtio_test(void)
23 qos_add_test("nop", "virtio", nop, NULL);
26 libqos_init(register_virtio_test);