qmp: add QMP command x-query-virtio-queue-element
commit1ee7bb5befaa24d2dfe8b32a437050209298c983
authorLaurent Vivier <lvivier@redhat.com>
Thu, 11 Aug 2022 12:24:43 +0000 (11 08:24 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 9 Oct 2022 20:38:45 +0000 (9 16:38 -0400)
tree3c40eb9bd06f93ba85572a1dcbf4ca6b0734f35f
parent07536ddda73a07bba6da8087fed5dd5a02320b11
qmp: add QMP command x-query-virtio-queue-element

This new command shows the information of a VirtQueue element.

[Note: Up until v10 of this patch series, virtio.json had many (15+)
 enums defined (e.g. decoded device features, statuses, etc.). In v10
 most of these enums were removed and replaced with string literals.
 By doing this we get (1) simpler schema, (2) smaller generated code,
 and (3) less maintenance burden for when new things are added (e.g.
 devices, device features, etc.).]

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Jonah Palmer <jonah.palmer@oracle.com>
Message-Id: <1660220684-24909-6-git-send-email-jonah.palmer@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio-stub.c
hw/virtio/virtio.c
qapi/virtio.json