Skip to content

Clean up -device help

Markus Armbruster qemu-devel 1 version Applied

Status from this message: Applied all. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7qemu-option: Make qemu_opts_foreach() accumulate return valuesqemu-option.c+1 -11 reply
2/7qdev: Fix exit code for -device ?hw/qdev.c hw/qdev.h vl.c+28 -90 replies
3/7Revert "qdev: Add help for property value"hw/qdev-properties.c+2 -70 replies
4/7Revert "qdev: Add help for device properties"hw/qdev-properties.c+2 -130 replies
5/7qdev: Add help for device propertieshw/qdev.c+14 -10 replies
6/7qdev: update help on -deviceqemu-options.hx+10 -130 replies
7/7qdev: Add rudimentary help for property valuehw/qdev.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/7] Clean up -device help

It has a number of issues:

* Some help is printed to stderr, which is wrong in the monitor.

* We terminate the program unsuccessfully after giving help.

* Help crept into -global, where it behaves funnily.

* Help on property values does not work for properties that accept the value "?".

Markus Armbruster (7):
qemu-option: Make qemu_opts_foreach() accumulate return values
qdev: Fix exit code for -device ?
Revert "qdev: Add help for property value"
Revert "qdev: Add help for device properties"
qdev: Add help for device properties
qdev: update help on -device
qdev: Add rudimentary help for property value

 hw/qdev-properties.c |   24 ++++--------------------
 hw/qdev.c            |   41 ++++++++++++++++++++++++++++++++---------
 hw/qdev.h            |    1 +
 qemu-option.c        |    2 +-
 qemu-options.hx      |   21 +++++++++------------
 vl.c                 |    8 ++++++++
 6 files changed, 55 insertions(+), 42 deletions(-)