From: Marcel Apfelbaum <marcel.a@redhat.com>
To: armbru@redhat.com
Cc: qemu-devel@nongnu.org, anthony@codemonkey.ws
Subject: Re: [Qemu-devel] [PATCH 0/2] Improve -device command line help some more
Date: Thu, 10 Oct 2013 17:56:38 +0300 [thread overview]
Message-ID: <1381416998.22271.19.camel@localhost.localdomain> (raw)
In-Reply-To: <1381410021-1538-1-git-send-email-armbru@redhat.com>
On Thu, 2013-10-10 at 15:00 +0200, armbru@redhat.com wrote:
> From: Markus Armbruster <armbru@redhat.com>
>
> 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.
I think that adding the category in each line may be
useful when using grep, but I suppose that we can grep by category
with -A x.
Thanks for continuing to improve the help output.
Marcel,
Reviewed-by: Marcel Apfelbaum <marcel.a@redhat.com>
>
> 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(-)
>
prev parent reply other threads:[~2013-10-10 14:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-10 13:00 [Qemu-devel] [PATCH 0/2] Improve -device command line help some more armbru
2013-10-10 13:00 ` [Qemu-devel] [PATCH 1/2] Mostly revert "qemu-help: Sort devices by logical functionality" armbru
2013-10-10 14:56 ` Marcel Apfelbaum
2013-10-11 6:41 ` Markus Armbruster
2013-10-10 13:00 ` [Qemu-devel] [PATCH 2/2] qdev-monitor: Group "device_add help" and "info qdm" by category armbru
2013-10-10 14:56 ` Marcel Apfelbaum [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1381416998.22271.19.camel@localhost.localdomain \
--to=marcel.a@redhat.com \
--cc=anthony@codemonkey.ws \
--cc=armbru@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).