docs: add note about stibp CPU feature for spectre v2
[qemu/ar7.git] / tests / virtio-test.c
blob804e5371dc3c5a9b009de1c04c6141521f6620f3
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 "libqos/qgraph.h"
13 #include "libqos/pci.h"
15 /* Tests only initialization so far. TODO: Replace with functional tests */
16 static void nop(void *obj, void *data, QGuestAllocator *alloc)
20 static void register_virtio_test(void)
22 qos_add_test("nop", "virtio", nop, NULL);
25 libqos_init(register_virtio_test);