Re: [Qemu-devel] [PATCH 0/2] Use bool for QBool

2015-06-16 Thread Markus Armbruster
Eric Blake writes: > Passing around an 'int' for a QBool type is weird, when we already > use a C99 compiler and have a sane 'bool' that does just fine. > > I half-debated sending this through qemu-trivial, but think it > better belongs through the QMP tree. There turned out to be few > enough c

Re: [Qemu-devel] [PATCH 0/2] Use bool for QBool

2015-06-11 Thread Luiz Capitulino
On Thu, 28 May 2015 15:54:12 -0400 Luiz Capitulino wrote: > On Fri, 15 May 2015 16:24:58 -0600 > Eric Blake wrote: > > > Passing around an 'int' for a QBool type is weird, when we already > > use a C99 compiler and have a sane 'bool' that does just fine. > > > > I half-debated sending this thr

Re: [Qemu-devel] [PATCH 0/2] Use bool for QBool

2015-05-28 Thread Luiz Capitulino
On Fri, 15 May 2015 16:24:58 -0600 Eric Blake wrote: > Passing around an 'int' for a QBool type is weird, when we already > use a C99 compiler and have a sane 'bool' that does just fine. > > I half-debated sending this through qemu-trivial, but think it > better belongs through the QMP tree. Th

[Qemu-devel] [PATCH 0/2] Use bool for QBool

2015-05-15 Thread Eric Blake
Passing around an 'int' for a QBool type is weird, when we already use a C99 compiler and have a sane 'bool' that does just fine. I half-debated sending this through qemu-trivial, but think it better belongs through the QMP tree. There turned out to be few enough clients that I grouped it into tw