Re: [Qemu-devel] [PATCH for-1.4 v2 4/6] qemu-option: Disable two helpful messages that got broken recently

2013-02-19 Thread Markus Armbruster
Laszlo Ersek writes: > On 02/19/13 10:50, Markus Armbruster wrote: > >> I suspect the real failure is in patch review. >> >> We can't expect everyone to know every feature, such as repeating >> options. But we need to catch wheel reinventions in review. > > I'd like to agree, but I'm simply una

Re: [Qemu-devel] [PATCH for-1.4 v2 4/6] qemu-option: Disable two helpful messages that got broken recently

2013-02-19 Thread Laszlo Ersek
On 02/19/13 10:29, Markus Armbruster wrote: > When it is, I'd suggest to try something like: > > * Create a schema appropriate for QMP. This results in a C data > structure (generated) and code accepting it. Let's call the latter > "the interface". > > * Create a schema for an opts-visitor

Re: [Qemu-devel] [PATCH for-1.4 v2 4/6] qemu-option: Disable two helpful messages that got broken recently

2013-02-19 Thread Laszlo Ersek
On 02/19/13 10:50, Markus Armbruster wrote: > I suspect the real failure is in patch review. > > We can't expect everyone to know every feature, such as repeating > options. But we need to catch wheel reinventions in review. I'd like to agree, but I'm simply unable to review more. On a good day

Re: [Qemu-devel] [PATCH for-1.4 v2 4/6] qemu-option: Disable two helpful messages that got broken recently

2013-02-19 Thread Markus Armbruster
Laszlo Ersek writes: > Hi, > > sorry for the late answer. I can only address the netdev_add / > opts-visitor stuff now. > > On 02/14/13 17:36, Luiz Capitulino wrote: >> On Thu, 14 Feb 2013 14:31:50 +0100 >> Markus Armbruster wrote: >>> Luiz Capitulino writes: On Thu, 14 Feb 2013 10:45:22 +

Re: [Qemu-devel] [PATCH for-1.4 v2 4/6] qemu-option: Disable two helpful messages that got broken recently

2013-02-19 Thread Markus Armbruster
Laszlo Ersek writes: > On 02/15/13 01:20, Laszlo Ersek wrote: >> On 02/14/13 17:36, Luiz Capitulino wrote: >>> On Thu, 14 Feb 2013 14:31:50 +0100 >>> Markus Armbruster wrote: > chardev-add: the schema defines an object type for each backend (ChardevFile, ChardevSocket, ...), and collec

Re: [Qemu-devel] [PATCH for-1.4 v2 4/6] qemu-option: Disable two helpful messages that got broken recently

2013-02-14 Thread Laszlo Ersek
On 02/15/13 01:20, Laszlo Ersek wrote: > On 02/14/13 17:36, Luiz Capitulino wrote: >> On Thu, 14 Feb 2013 14:31:50 +0100 >> Markus Armbruster wrote: >>> chardev-add: the schema defines an object type for each backend >>> (ChardevFile, ChardevSocket, ...), and collects them together in >>> discrim

Re: [Qemu-devel] [PATCH for-1.4 v2 4/6] qemu-option: Disable two helpful messages that got broken recently

2013-02-14 Thread Laszlo Ersek
Hi, sorry for the late answer. I can only address the netdev_add / opts-visitor stuff now. On 02/14/13 17:36, Luiz Capitulino wrote: > On Thu, 14 Feb 2013 14:31:50 +0100 > Markus Armbruster wrote: >> Luiz Capitulino writes: >>> On Thu, 14 Feb 2013 10:45:22 +0100 >>> Markus Armbruster wrote: >

Re: [Qemu-devel] [PATCH for-1.4 v2 4/6] qemu-option: Disable two helpful messages that got broken recently

2013-02-14 Thread Luiz Capitulino
On Thu, 14 Feb 2013 14:31:50 +0100 Markus Armbruster wrote: > [Some quoted material restored] > > Luiz Capitulino writes: > > > On Thu, 14 Feb 2013 10:45:22 +0100 > > Markus Armbruster wrote: > > > >> [Note cc: +Laszlo, +Anthony, -qemu-trivial] > >> > >> Luiz Capitulino writes: > >> > >> >

Re: [Qemu-devel] [PATCH for-1.4 v2 4/6] qemu-option: Disable two helpful messages that got broken recently

2013-02-14 Thread Markus Armbruster
[Some quoted material restored] Luiz Capitulino writes: > On Thu, 14 Feb 2013 10:45:22 +0100 > Markus Armbruster wrote: > >> [Note cc: +Laszlo, +Anthony, -qemu-trivial] >> >> Luiz Capitulino writes: >> >> > On Fri, 08 Feb 2013 20:34:20 +0100 >> > Markus Armbruster wrote: >> > >> >> > The re

Re: [Qemu-devel] [PATCH for-1.4 v2 4/6] qemu-option: Disable two helpful messages that got broken recently

2013-02-14 Thread Luiz Capitulino
On Thu, 14 Feb 2013 10:45:22 +0100 Markus Armbruster wrote: > [Note cc: +Laszlo, +Anthony, -qemu-trivial] > > Luiz Capitulino writes: > > > On Fri, 08 Feb 2013 20:34:20 +0100 > > Markus Armbruster wrote: > > > >> > The real problem here is that the k, M, G suffixes, for example, are not > >>

Re: [Qemu-devel] [PATCH for-1.4 v2 4/6] qemu-option: Disable two helpful messages that got broken recently

2013-02-14 Thread Markus Armbruster
[Note cc: +Laszlo, +Anthony, -qemu-trivial] Luiz Capitulino writes: > On Fri, 08 Feb 2013 20:34:20 +0100 > Markus Armbruster wrote: > >> > The real problem here is that the k, M, G suffixes, for example, are not >> > good to be reported by QMP. So maybe we should refactor the code in a way >> >

Re: [Qemu-devel] [PATCH for-1.4 v2 4/6] qemu-option: Disable two helpful messages that got broken recently

2013-02-13 Thread Luiz Capitulino
On Fri, 08 Feb 2013 20:34:20 +0100 Markus Armbruster wrote: > > The real problem here is that the k, M, G suffixes, for example, are not > > good to be reported by QMP. So maybe we should refactor the code in a way > > that we separate what's done in QMP from what is done in HMP/command-line. >

Re: [Qemu-devel] [PATCH for-1.4 v2 4/6] qemu-option: Disable two helpful messages that got broken recently

2013-02-08 Thread Markus Armbruster
Luiz Capitulino writes: > On Fri, 08 Feb 2013 19:58:42 +0100 > Markus Armbruster wrote: > >> Luiz Capitulino writes: >> >> > On Fri, 8 Feb 2013 17:17:10 +0100 >> > Markus Armbruster wrote: >> > >> >> commit 8be7e7e4 and commit ec7b2ccb messed up the ordering of error >> >> message and the he

Re: [Qemu-devel] [PATCH for-1.4 v2 4/6] qemu-option: Disable two helpful messages that got broken recently

2013-02-08 Thread Markus Armbruster
Luiz Capitulino writes: > On Fri, 8 Feb 2013 17:17:10 +0100 > Markus Armbruster wrote: > >> commit 8be7e7e4 and commit ec7b2ccb messed up the ordering of error >> message and the helpful explanation that should follow it, like this: >> >> $ qemu-system-x86_64 --nodefaults -S --vnc :0 --cha

Re: [Qemu-devel] [PATCH for-1.4 v2 4/6] qemu-option: Disable two helpful messages that got broken recently

2013-02-08 Thread Luiz Capitulino
On Fri, 08 Feb 2013 19:58:42 +0100 Markus Armbruster wrote: > Luiz Capitulino writes: > > > On Fri, 8 Feb 2013 17:17:10 +0100 > > Markus Armbruster wrote: > > > >> commit 8be7e7e4 and commit ec7b2ccb messed up the ordering of error > >> message and the helpful explanation that should follow i

Re: [Qemu-devel] [PATCH for-1.4 v2 4/6] qemu-option: Disable two helpful messages that got broken recently

2013-02-08 Thread Luiz Capitulino
On Fri, 8 Feb 2013 17:17:10 +0100 Markus Armbruster wrote: > commit 8be7e7e4 and commit ec7b2ccb messed up the ordering of error > message and the helpful explanation that should follow it, like this: > > $ qemu-system-x86_64 --nodefaults -S --vnc :0 --chardev null,id=, > Identifiers co

[Qemu-devel] [PATCH for-1.4 v2 4/6] qemu-option: Disable two helpful messages that got broken recently

2013-02-08 Thread Markus Armbruster
commit 8be7e7e4 and commit ec7b2ccb messed up the ordering of error message and the helpful explanation that should follow it, like this: $ qemu-system-x86_64 --nodefaults -S --vnc :0 --chardev null,id=, Identifiers consist of letters, digits, '-', '.', '_', starting with a letter. qe