From: Anthony Liguori <anthony@codemonkey.ws>
To: Markus Armbruster <armbru@redhat.com>
Cc: Amit Shah <amit.shah@redhat.com>, qemu list <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH REBASE/RESEND 0/4] Auto-document qdev devices
Date: Fri, 18 Feb 2011 09:18:27 -0600 [thread overview]
Message-ID: <4D5E8DC3.4090502@codemonkey.ws> (raw)
In-Reply-To: <m3d3mp4tch.fsf@blackfin.pond.sub.org>
On 02/18/2011 02:53 AM, Markus Armbruster wrote:
> Anthony Liguori<anthony@codemonkey.ws> writes:
>
>
>> On 02/04/2011 12:18 AM, Amit Shah wrote:
>>
>>> Hello,
>>>
>>> This is yet another rebase of the patchset I'd sent earlier.
>>>
>>> The usual notes apply: this is just the start, just getting the
>>> framework in place and a few examples so that people can then pick up
>>> and start documenting their devices and options. We want to see all
>>> of the devices covered, and hopefully turn on build_bug_on() on an
>>> empty doc string.
>>>
>>> Maintainers should perhaps also look for patches that introduce
>>> options without documentation.
>>>
>>> That's the long-term goal (0.15-final). For short-term, I'll be
>>> preparing follow-on patches that add doc strings for a few more
>>> options and perhaps bug people based on git history as to what
>>> documentation is to be added for some options. Also to incorporate
>>> Markus's comments on beautifying output.
>>>
>>> The earlier this patchset goes in the better since it'll reduce
>>> conflicts and rebases needed.
>>>
>>> If this looks acceptable, please apply!
>>>
>>>
>> I think we need to approach this in such a way that we generate not
>> only inline documentation but out of line documentation.
>>
>> We need a way to extract the docs into a file. That could mean having
>> something like a .hx file or just doing some clever things with grep
>> DEFINE_PROP.
>>
> Or stupid things with linking docs into a simple program that prints
> them.
>
> Anyway, let's not overengineer now. This patch is a step forward: the
> user gets help where there was none before. It doesn't prejudice
> further steps forward, such as putting the help information to
> additional uses.
>
The blocker for me is the introduction of empty strings. Doc
extraction is a nice-to-have but I'd be inclined to merge w/o it.
Regards,
Anthony Liguori
prev parent reply other threads:[~2011-02-18 15:18 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-04 6:18 [Qemu-devel] [PATCH REBASE/RESEND 0/4] Auto-document qdev devices Amit Shah
2011-02-04 6:18 ` [Qemu-devel] [PATCH REBASE/RESEND 1/4] qdev: Add a description field for qdev properties for documentation Amit Shah
2011-02-15 16:43 ` Anthony Liguori
2011-02-17 13:06 ` Amit Shah
2011-02-17 13:12 ` Anthony Liguori
2011-02-17 13:37 ` Amit Shah
2011-02-18 8:59 ` Markus Armbruster
2011-02-18 15:21 ` Anthony Liguori
2011-02-18 8:54 ` Markus Armbruster
2011-02-04 6:18 ` [Qemu-devel] [PATCH REBASE/RESEND 2/4] virtio-serial: Add description fields for qdev properties Amit Shah
2011-02-15 16:10 ` Anthony Liguori
2011-02-17 13:03 ` Amit Shah
2011-02-17 13:11 ` Anthony Liguori
2011-02-17 13:39 ` Amit Shah
2011-02-04 6:18 ` [Qemu-devel] [PATCH REBASE/RESEND 3/4] net.h: Add description fields for qdev properites Amit Shah
2011-02-04 6:18 ` [Qemu-devel] [PATCH REBASE/RESEND 4/4] block_int.h: Provide documentation for common block qdev properties Amit Shah
2011-02-04 8:02 ` [Qemu-devel] [PATCH REBASE/RESEND 0/4] Auto-document qdev devices Markus Armbruster
2011-02-15 16:12 ` Anthony Liguori
2011-02-17 13:45 ` Amit Shah
2011-02-18 8:53 ` Markus Armbruster
2011-02-18 15:18 ` Anthony Liguori [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=4D5E8DC3.4090502@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=amit.shah@redhat.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.