[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 04/11] qapi schema: add AcpiTableOptions
From: |
Anthony Liguori |
Subject: |
Re: [Qemu-devel] [PATCH 04/11] qapi schema: add AcpiTableOptions |
Date: |
Wed, 03 Apr 2013 15:01:42 -0500 |
User-agent: |
Notmuch/0.13.2+93~ged93d79 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) |
"Michael S. Tsirkin" <address@hidden> writes:
> On Thu, Mar 21, 2013 at 12:51:34PM +0100, Paolo Bonzini wrote:
>> Il 21/03/2013 11:41, Laszlo Ersek ha scritto:
>> > On 03/21/13 01:31, Laszlo Ersek wrote:
>> >> On 03/21/13 00:45, Eric Blake wrote:
>> >>> On 03/20/2013 05:23 PM, Laszlo Ersek wrote:
>> >
>> >>>> +#
>> >>>> +# @oem_id: #optional OEM identifier (6 bytes)
>> >>>
>> >>> s/oem_id/oem-id/
>> >>>
>> >>> In general, new QMP interfaces should use '-', not '_'.
>> >>
>> >> Indeed! I think this warrants a respin.
>> >
>> > Actually it doesn't, apologies -- I got confused for a minute. Again,
>> > since I aim to match the existing option format, I must keep the same
>> > spelling.
>>
>> We should make a list of places where we have mixed conventions, accept
>> both, and mass-convert to dash...
>>
>> Paolo
>
> Anthony used to nack all mass conversions since they mess up the git
> history. Since the movement of headers went in, I gather this position
> has been relaxed...
It's all about the value-to-cost ratio. Running indent to remove
invisible space at the end of lines or sed'ing a way a '_t' just because
people like to quote standards too much offers very little value at a
high cost.
Significantly improving the code layout OTOH adds a lot of value and
justifies the impact.
Regards,
Anthony Liguori
>
> --
> MST