[libvirt] [PATCH 0/3] use virStringParseYesNo helper

Andrea Bolognani abologna at redhat.com
Wed Oct 16 07:51:58 UTC 2019


On Wed, 2019-10-16 at 10:39 +0800, Mao Zhongyi wrote:
> A function virStringParseYesNo was added to convert
> string 'yes' to true and 'no' to false, so use this
> helper to replace 'STREQ(.*, \"yes\")' and
> 'STREQ(.*, \"no\")' as it allows us to drop several
> repetitive if-then-else string->bool conversion blocks.
> 
> Cc: abologna at redhat.com
> Cc: berrange at redhat.com
> Cc: crobinso at redhat.com
> Cc: gene at czarc.net
> Cc: g.sho1500 at gmail.com
> Cc: jdenemar at redhat.com
> Cc: laine at laine.org
> Cc: mkletzan at redhat.com
> Cc: phrdina at redhat.com

Please do *not* CC random libvirt developer when sending patches to
the list: we are all subscribed, and someone will get to your patches
eventually; if you haven't gotten any replies after two weeks or so,
then it's perfectly fine to ping but once again do that on the list,
not targeting specific individuals.

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list