diff options
author | Laurent Vivier <lvivier@redhat.com> | 2022-08-11 08:24:44 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-10-09 16:38:45 -0400 |
commit | 8a8287981d1169f534894d983ecfd3b70b71918b (patch) | |
tree | 19a1f9da754b6b536720d48c05631aa0f92b95ba /include | |
parent | 1ee7bb5befaa24d2dfe8b32a437050209298c983 (diff) | |
download | qemu-8a8287981d1169f534894d983ecfd3b70b71918b.zip qemu-8a8287981d1169f534894d983ecfd3b70b71918b.tar.gz qemu-8a8287981d1169f534894d983ecfd3b70b71918b.tar.bz2 |
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')
-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 a618eb1..a9cf064 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); |