aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/virtio-stub.c
blob: 05a81edc925e80f32e1a62d9a4b74e2d5370c91b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "qapi/qapi-commands-virtio.h"

static void *qmp_virtio_unsupported(Error **errp)
{
    error_setg(errp, "Virtio is disabled");
    return NULL;
}

VirtioInfoList *qmp_x_query_virtio(Error **errp)
{
    return qmp_virtio_unsupported(errp);
}