qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Adjust the output of x-query-virtio-status
@ 2023-12-28 18:52 Hyman Huang
  2023-12-28 18:52 ` [PATCH 1/2] qapi/virtio: Keep feature and status bits in the QMP output Hyman Huang
  2023-12-28 18:52 ` [PATCH 2/2] hmp: Drop unknown feature and status bits Hyman Huang
  0 siblings, 2 replies; 5+ messages in thread
From: Hyman Huang @ 2023-12-28 18:52 UTC (permalink / raw)
  To: qemu-devel; +Cc: Michael S . Tsirkin, Markus Armbruster, Eric Blake, yong.huang

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-01-03  1:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-28 18:52 [PATCH 0/2] Adjust the output of x-query-virtio-status Hyman Huang
2023-12-28 18:52 ` [PATCH 1/2] qapi/virtio: Keep feature and status bits in the QMP output Hyman Huang
2023-12-29  9:31   ` Philippe Mathieu-Daudé
2024-01-03  1:30     ` Yong Huang
2023-12-28 18:52 ` [PATCH 2/2] hmp: Drop unknown feature and status bits Hyman Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).