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(a)redhat.com
Cc: berrange(a)redhat.com
Cc: crobinso(a)redhat.com
Cc: gene(a)czarc.net
Cc: g.sho1500(a)gmail.com
Cc: jdenemar(a)redhat.com
Cc: laine(a)laine.org
Cc: mkletzan(a)redhat.com
Cc: phrdina(a)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