From: Eric Blake <eblake@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: aliguori@us.ibm.com, mst@redhat.com,
Marcel Apfelbaum <marcel.a@redhat.com>,
qemu-devel@nongnu.org, pbonzini@redhat.com, afaerber@suse.de
Subject: Re: [Qemu-devel] [PATCH v4 0/3] qemu-help: improve -device command line help
Date: Tue, 13 Aug 2013 06:06:35 -0600 [thread overview]
Message-ID: <520A214B.1010703@redhat.com> (raw)
In-Reply-To: <87mwol29rg.fsf@blackfin.pond.sub.org>
[-- Attachment #1: Type: text/plain, Size: 945 bytes --]
On 08/13/2013 03:57 AM, Markus Armbruster wrote:
> This isn't patch review, just a couple of observations and questions.
>
>
> Should we require devices to have at least one category?
If they can be enabled from the command line, yes. (Consider '-device
pvpanic, which was NOT available in qemu 1.5 because it was
unconditional; and for qemu 1.6 which will be conditional in the -M
pc-1.6 but unconditional in -M pc-1.5 for back-compat - part of exposing
it as conditional in 1.6 was giving it a category).
>
> Eric, does libvirt still parse -device help? If yes, can it cope with
> the addition of "categories ..."?
Since qemu 1.3, libvirt has been parsing only QMP commands to learn
about device availability (qom-list-types, if I'm not mistaken); -help
text is therefore irrelevant, so change away :)
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 621 bytes --]
next prev parent reply other threads:[~2013-08-13 12:06 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-29 14:17 [Qemu-devel] [PATCH v4 0/3] qemu-help: improve -device command line help Marcel Apfelbaum
2013-07-29 14:17 ` [Qemu-devel] [PATCH v4 1/3] hw: import bitmap operations in qdev-core header Marcel Apfelbaum
2013-07-29 14:17 ` [Qemu-devel] [PATCH v4 2/3] qemu-help: Sort devices by logical functionality Marcel Apfelbaum
2013-07-29 18:11 ` Michael S. Tsirkin
2013-07-29 14:17 ` [Qemu-devel] [PATCH v4 3/3] devices: Associate devices to their logical category Marcel Apfelbaum
2013-07-29 18:11 ` [Qemu-devel] [PATCH v4 0/3] qemu-help: improve -device command line help Michael S. Tsirkin
2013-07-29 20:23 ` Anthony Liguori
2013-08-13 9:57 ` Markus Armbruster
2013-08-13 10:36 ` Michael S. Tsirkin
2013-08-13 12:06 ` Eric Blake [this message]
2013-08-21 7:47 ` Marcel Apfelbaum
2013-08-21 9:23 ` Markus Armbruster
2013-08-21 10:42 ` Marcel Apfelbaum
2013-08-21 12:38 ` Michael S. Tsirkin
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=520A214B.1010703@redhat.com \
--to=eblake@redhat.com \
--cc=afaerber@suse.de \
--cc=aliguori@us.ibm.com \
--cc=armbru@redhat.com \
--cc=marcel.a@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@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).