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