Skip to content

Adjust the output of x-query-virtio-status

Hyman Huang qemu-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 9 repliesIn review
  2. v33 patches 10 repliesSuperseded
  3. v22 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches2 repliesSuperseded

Changes in v4 from the cover letter

- Rebase on master
- Fix the syntax mistake within the commit message of [PATCH v3 1/3]
- Adjust the linking file in hw/virtio/meson.build suggested by Markus

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3qmp: Switch x-query-virtio-status back to numeric encodinghw/virtio/virtio-hmp-cmds.c hw/virtio/virtio-qmp.c qapi/virtio.json+45 -1950 replies
2/3virtio: Declare the decoding functions to statichw/virtio/meson.build hw/virtio/virtio-hmp-cmds.c hw/virtio/virtio-qmp.c +1 more+671 -6741 reply
3/3qapi: Define VhostDeviceProtocols and VirtioDeviceFeatures as plain C typeshw/virtio/virtio-hmp-cmds.c qapi/virtio.json+16 -390 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMarkus Armbruster
1/3A-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] Adjust the output of x-query-virtio-status

v4:
- Rebase on master
- Fix the syntax mistake within the commit message of [PATCH v3 1/3]
- Adjust the linking file in hw/virtio/meson.build suggested by Markus

Please review,
Yong

v3:
- Rebase on master
- Use the refined commit message furnished by Markus for [PATCH v2 1/2]
- Drop the [PATCH v2 2/2]
- Add [PATCH v3 2/3] to declare the decoding functions to static
- Add [PATCH v3 3/3] to Define VhostDeviceProtocols and VirtioDeviceFeatures as plain C types

v2:
- Changing the hmp_virtio_dump_xxx function signatures to implement the bitmap decoding, suggested by Philippe.

This patchset is derived from the series:
https://lore.kernel.org/qemu-devel/[email protected]/
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.

Hyman Huang (3):
qmp: Switch x-query-virtio-status back to numeric encoding
virtio: Declare the decoding functions to static
qapi: Define VhostDeviceProtocols and VirtioDeviceFeatures as plain C
types

 hw/virtio/meson.build       |   4 +-
 hw/virtio/virtio-hmp-cmds.c | 702 +++++++++++++++++++++++++++++++++++-
 hw/virtio/virtio-qmp.c      | 684 +----------------------------------
 hw/virtio/virtio-qmp.h      |   3 -
 qapi/virtio.json            | 231 +-----------
 5 files changed, 724 insertions(+), 900 deletions(-)
Signature · 1 line
2.39.3