hw/display/next-fb: Fix comment typo
[qemu/ar7.git] / hw / virtio / virtio-stub.c
blob7ddb22cc5e81ee87631ce1eb7798cfa354c178f2
1 #include "qemu/osdep.h"
2 #include "qapi/error.h"
3 #include "qapi/qapi-commands-virtio.h"
5 static void *qmp_virtio_unsupported(Error **errp)
7 error_setg(errp, "Virtio is disabled");
8 return NULL;
11 VirtioInfoList *qmp_x_query_virtio(Error **errp)
13 return qmp_virtio_unsupported(errp);
16 VirtioStatus *qmp_x_query_virtio_status(const char *path, Error **errp)
18 return qmp_virtio_unsupported(errp);
21 VirtVhostQueueStatus *qmp_x_query_virtio_vhost_queue_status(const char *path,
22 uint16_t queue,
23 Error **errp)
25 return qmp_virtio_unsupported(errp);
28 VirtQueueStatus *qmp_x_query_virtio_queue_status(const char *path,
29 uint16_t queue,
30 Error **errp)
32 return qmp_virtio_unsupported(errp);
35 VirtioQueueElement *qmp_x_query_virtio_queue_element(const char *path,
36 uint16_t queue,
37 bool has_index,
38 uint16_t index,
39 Error **errp)
41 return qmp_virtio_unsupported(errp);