]> git.proxmox.com Git - mirror_qemu.git/blame - tests/virtio-test.c
Revert "vl: Fix to create migration object before block backends again"
[mirror_qemu.git] / tests / virtio-test.c
CommitLineData
50d982e7
PB
1/*
2 * QTest testcase for virtio
3 *
4 * Copyright (c) 2018 Red Hat, Inc.
5 *
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 */
9
10#include "qemu/osdep.h"
11#include "libqtest.h"
12#include "libqos/qgraph.h"
13#include "libqos/pci.h"
14
15/* Tests only initialization so far. TODO: Replace with functional tests */
16static void nop(void *obj, void *data, QGuestAllocator *alloc)
17{
18}
19
20static void register_virtio_test(void)
21{
22 qos_add_test("nop", "virtio", nop, NULL);
23}
24
25libqos_init(register_virtio_test);