Re: [PATCH 05/14] Sanitize virDiscoverHostPMFeature to return a boolean

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/29/2011 08:44 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> Since virDiscoverHostPMFeature is just checking one feature,
> there is no reason for it to return a bitmask. Change it to
> return a boolean
> 
> * src/util/util.c, src/util/util.h: Make virDiscoverHostPMFeature
>   return a boolean
> ---
>  src/util/util.c |   24 +++++++++++++++---------
>  src/util/util.h |    2 +-
>  2 files changed, 16 insertions(+), 10 deletions(-)

ACK.

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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]