Skip to content

Improve -device command line help some more

[email protected] qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Mostly revert "qemu-help: Sort devices by logical functionality"include/hw/qdev-core.h qdev-monitor.c+9 -552 replies
2/2qdev-monitor: Group "device_add help" and "info qdm" by categoryqdev-monitor.c+53 -140 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarcel Apfelbaum
SeriesR-b
1/2
2/2

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] Improve -device command line help some more

From: Markus Armbruster <[email protected]>

Marcel's recent improvements (commit dbd94f8..125ee0e) go in the right direction, but there are issues (see PATCH 1/2), and I find the resulting help output still hard to read.

This series redoes the help printing part of Marcel's series. Result looks like this (moxie picked as example for brevity):

    $ qemu-system-moxie -device help
    Controller/Bridge/Hub devices:
    name "usb-host", bus usb-bus
    name "usb-hub", bus usb-bus

Storage devices:
name "scsi-block", bus SCSI, desc "SCSI block device passthrough" name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM"
name "scsi-disk", bus SCSI, desc "virtual SCSI disk or CD-ROM (legacy)" name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/dev/sg*)" name "scsi-hd", bus SCSI, desc "virtual SCSI disk"

Input devices:
name "isa-serial", bus ISA
name "usb-kbd", bus usb-bus
name "usb-mouse", bus usb-bus
name "usb-tablet", bus usb-bus

Misc devices:
name "smbus-eeprom", bus i2c-bus
name "usb-redir", bus usb-bus

Additionally, "info qdm" is again just like "device_add help" with no-user devices included.

Markus Armbruster (2):
Mostly revert "qemu-help: Sort devices by logical functionality"
qdev-monitor: Group "device_add help" and "info qdm" by category

 include/hw/qdev-core.h | 16 ----------
 qdev-monitor.c         | 85 ++++++++++++++++++++++++++++----------------------
 2 files changed, 47 insertions(+), 54 deletions(-)
Signature · 1 line
1.8.1.4