qmp: add QMP commands for virtio/vhost queue-status
commit07536ddda73a07bba6da8087fed5dd5a02320b11
authorLaurent Vivier <lvivier@redhat.com>
Thu, 11 Aug 2022 12:24:42 +0000 (11 08:24 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 9 Oct 2022 20:38:45 +0000 (9 16:38 -0400)
tree7d3b3dae7e4ea9bb8a7dcf50d2cb96281867fa84
parentf3034ad71fcd0a6a58bc37830f182b307f089159
qmp: add QMP commands for virtio/vhost queue-status

These new commands show the internal status of a VirtIODevice's
VirtQueue and a vhost device's vhost_virtqueue (if active).

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Jonah Palmer <jonah.palmer@oracle.com>
Message-Id: <1660220684-24909-5-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