[PATCH 0/2] Adjust the output of x-query-virtio-status

Hyman Huang posted 2 patches 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1703787712.git.yong.huang@smartx.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>
There is a newer version of this series
hw/virtio/virtio-hmp-cmds.c |  38 ++++---
hw/virtio/virtio-qmp.c      |  23 ++---
qapi/virtio.json            | 192 ++++--------------------------------
3 files changed, 45 insertions(+), 208 deletions(-)
[PATCH 0/2] Adjust the output of x-query-virtio-status
Posted by Hyman Huang 11 months ago
This patchset is derived from the series:
https://lore.kernel.org/qemu-devel/cover.1699793550.git.yong.huang@smartx.com/
Please go to the link to see more background information.

The following points are what we have done in the patchset:
1. Take the policy of adding human-readable output just in HMP.
2. For the HMP output, display the human-readable information and
   drop the unknown bits in practice.
3. For the QMP output, remove the descriptive strings and only
   display bits encoded as numbers.

Please review, thanks,
Yong

Hyman Huang (2):
  qapi/virtio: Keep feature and status bits in the QMP output
  hmp: Drop unknown feature and status bits

 hw/virtio/virtio-hmp-cmds.c |  38 ++++---
 hw/virtio/virtio-qmp.c      |  23 ++---
 qapi/virtio.json            | 192 ++++--------------------------------
 3 files changed, 45 insertions(+), 208 deletions(-)

-- 
2.39.1