Re: [libvirt] [PATCH 1/2] util: add virStringParseYesNo()

2019-03-12 Thread Erik Skultety
On Tue, Mar 12, 2019 at 09:10:07AM +0100, Peter Krempa wrote: > On Tue, Mar 12, 2019 at 08:54:12 +0100, Erik Skultety wrote: > > On Tue, Mar 12, 2019 at 08:38:18AM +0100, Peter Krempa wrote: > > > On Tue, Mar 12, 2019 at 00:38:05 +0900, Shotaro Gotanda wrote: > > > > This function parse and convert

Re: [libvirt] [PATCH 1/2] util: add virStringParseYesNo()

2019-03-12 Thread 五反田正太郎
Thank you for your feedbacks. I’ll fix the problem and send the fixed patches. Regards, Shotaro -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH 1/2] util: add virStringParseYesNo()

2019-03-12 Thread Peter Krempa
On Tue, Mar 12, 2019 at 08:54:12 +0100, Erik Skultety wrote: > On Tue, Mar 12, 2019 at 08:38:18AM +0100, Peter Krempa wrote: > > On Tue, Mar 12, 2019 at 00:38:05 +0900, Shotaro Gotanda wrote: > > > This function parse and convert string "yes|no" into bool true|false. > > > > > > Signed-off-by: Shot

Re: [libvirt] [PATCH 1/2] util: add virStringParseYesNo()

2019-03-12 Thread Erik Skultety
On Tue, Mar 12, 2019 at 08:38:18AM +0100, Peter Krempa wrote: > On Tue, Mar 12, 2019 at 00:38:05 +0900, Shotaro Gotanda wrote: > > This function parse and convert string "yes|no" into bool true|false. > > > > Signed-off-by: Shotaro Gotanda > > --- > > src/util/virstring.c | 32 +++

Re: [libvirt] [PATCH 1/2] util: add virStringParseYesNo()

2019-03-12 Thread Peter Krempa
On Tue, Mar 12, 2019 at 00:38:05 +0900, Shotaro Gotanda wrote: > This function parse and convert string "yes|no" into bool true|false. > > Signed-off-by: Shotaro Gotanda > --- > src/util/virstring.c | 32 > src/util/virstring.h | 3 +++ > 2 files changed, 35 ins

[libvirt] [PATCH 1/2] util: add virStringParseYesNo()

2019-03-11 Thread Shotaro Gotanda
This function parse and convert string "yes|no" into bool true|false. Signed-off-by: Shotaro Gotanda --- src/util/virstring.c | 32 src/util/virstring.h | 3 +++ 2 files changed, 35 insertions(+) diff --git a/src/util/virstring.c b/src/util/virstring.c index 33