aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/virtio-stub.c
blob: 0b432e8de729b911e7b7d932911562a2217e165f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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);
}

VirtioStatus *qmp_x_query_virtio_status(const char *path, Error **errp)
{
    return qmp_virtio_unsupported(errp);
}