diff options
author | Laurent Vivier | 2022-08-11 14:24:44 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2022-10-09 22:38:45 +0200 |
commit | 8a8287981d1169f534894d983ecfd3b70b71918b (patch) | |
tree | 19a1f9da754b6b536720d48c05631aa0f92b95ba /include/monitor | |
parent | qmp: add QMP command x-query-virtio-queue-element (diff) | |
download | qemu-8a8287981d1169f534894d983ecfd3b70b71918b.tar.gz qemu-8a8287981d1169f534894d983ecfd3b70b71918b.tar.xz qemu-8a8287981d1169f534894d983ecfd3b70b71918b.zip |
hmp: add virtio commands
This patch implements the HMP versions of the virtio QMP commands.
[Jonah: Adjusted hmp monitor output format for features / statuses
with their descriptions.]
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Jonah Palmer <jonah.palmer@oracle.com>
Message-Id: <1660220684-24909-7-git-send-email-jonah.palmer@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/monitor')
-rw-r--r-- | include/monitor/hmp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/monitor/hmp.h b/include/monitor/hmp.h index a618eb1e4e..a9cf064ee8 100644 --- a/include/monitor/hmp.h +++ b/include/monitor/hmp.h @@ -95,6 +95,11 @@ void hmp_qom_list(Monitor *mon, const QDict *qdict); void hmp_qom_get(Monitor *mon, const QDict *qdict); void hmp_qom_set(Monitor *mon, const QDict *qdict); void hmp_info_qom_tree(Monitor *mon, const QDict *dict); +void hmp_virtio_query(Monitor *mon, const QDict *qdict); +void hmp_virtio_status(Monitor *mon, const QDict *qdict); +void hmp_virtio_queue_status(Monitor *mon, const QDict *qdict); +void hmp_vhost_queue_status(Monitor *mon, const QDict *qdict); +void hmp_virtio_queue_element(Monitor *mon, const QDict *qdict); void object_add_completion(ReadLineState *rs, int nb_args, const char *str); void object_del_completion(ReadLineState *rs, int nb_args, const char *str); void device_add_completion(ReadLineState *rs, int nb_args, const char *str); |