[libvirt] [PATCH 0/2] use bool type for bool values

Eric Blake eblake at redhat.com
Wed Nov 19 16:06:21 UTC 2014


On 11/19/2014 06:05 AM, Michal Privoznik wrote:
> On 18.11.2014 01:36, Eric Blake wrote:
>> I stumbled into this one on work I'm doing with qemu blockinfo.
>> The DBus interaction code was tricky enough to need to be its own
>> patch; but I like the end result that clients reading a 'b' entry
>> from virDBus code can now pass a sane 'bool*' instead of a weird
>> 'int*' variable.
>>
>> Eric Blake (2):
>>    virdbus: don't force users to pass int for bool values
>>    maint: forbid 'int foo = true'
>>
>>   cfg.mk                       |  6 ++++++
>>   src/conf/snapshot_conf.c     |  2 +-
>>   src/qemu/qemu_driver.c       |  4 ++--
>>   src/test/test_driver.c       |  2 +-
>>   src/util/vircgroup.c         |  2 +-
>>   src/util/virdbus.c           | 25 ++++++++++++++-----------
>>   src/util/virpci.c            |  2 +-
>>   src/util/virpolkit.c         |  6 +++---
>>   src/util/virutil.c           |  2 +-
>>   tests/virdbustest.c          |  4 ++--
>>   tools/virsh-domain-monitor.c |  2 +-
>>   tools/virsh-domain.c         | 12 ++++++------
>>   12 files changed, 39 insertions(+), 30 deletions(-)
>>
> 
> ACK to both.

Pushed.


-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141119/127609ef/attachment-0001.sig>


More information about the libvir-list mailing list