Re: [Qemu-devel] [PATCH 07/13] Monitor: handle optional '-' arg as a bool

2010-06-23 Thread Markus Armbruster
Luiz Capitulino writes: > On Wed, 23 Jun 2010 17:05:02 +0200 > Markus Armbruster wrote: > >> Luiz Capitulino writes: >> >> > Historically, user monitor arguments beginning with '-' (eg. '-f') >> > were passed as integers down to handlers. >> > >> > I've maintained this behavior in the new moni

Re: [Qemu-devel] [PATCH 07/13] Monitor: handle optional '-' arg as a bool

2010-06-23 Thread Luiz Capitulino
On Wed, 23 Jun 2010 18:31:53 +0200 Markus Armbruster wrote: > Luiz Capitulino writes: > > > On Wed, 23 Jun 2010 17:05:02 +0200 > > Markus Armbruster wrote: > > > >> Luiz Capitulino writes: > >> > >> > Historically, user monitor arguments beginning with '-' (eg. '-f') > >> > were passed as in

Re: [Qemu-devel] [PATCH 07/13] Monitor: handle optional '-' arg as a bool

2010-06-23 Thread Luiz Capitulino
On Wed, 23 Jun 2010 17:05:02 +0200 Markus Armbruster wrote: > Luiz Capitulino writes: > > > Historically, user monitor arguments beginning with '-' (eg. '-f') > > were passed as integers down to handlers. > > > > I've maintained this behavior in the new monitor because we didn't > > have a bool

Re: [Qemu-devel] [PATCH 07/13] Monitor: handle optional '-' arg as a bool

2010-06-23 Thread Markus Armbruster
Luiz Capitulino writes: > Historically, user monitor arguments beginning with '-' (eg. '-f') > were passed as integers down to handlers. > > I've maintained this behavior in the new monitor because we didn't > have a boolean type at the very beginning of QMP. Today we have it > and this behavior