[libvirt] [PATCH v2 0/2] Add function for XML yes|no string handling

Shotaro Gotanda g.sho1500 at gmail.com
Tue Mar 12 09:56:21 UTC 2019


Changes since v1:

- remove NULL check of string in virStringParseYesNo
- remove error handling in virStringParseYesNo.
- remove temporary variable.



Shotaro Gotanda (2):
  util: add virStringParseYesNo()
  conf: Use virStringParseYesNo()

 src/conf/domain_conf.c | 30 +++++-------------------------
 src/conf/secret_conf.c | 12 ++----------
 src/util/virstring.c   | 23 +++++++++++++++++++++++
 src/util/virstring.h   |  3 +++
 4 files changed, 33 insertions(+), 35 deletions(-)

-- 
2.19.1




More information about the libvir-list mailing list