Re: [PATCH v17 01/14] util/cutils: Add Add qemu_strtold and qemu_strtold_finite

2019-11-26 Thread Tao Xu
On 11/27/2019 2:44 PM, Markus Armbruster wrote: Tao Xu writes: On 11/26/2019 9:54 PM, Markus Armbruster wrote: Tao Xu writes: Hi Markus, Do you have any comments on this patch and 02/14 05/14 06/14. Thank you! These provide a new QAPI built-in type 'time'. It's like 'uint64' with an im

Re: [PATCH v17 01/14] util/cutils: Add Add qemu_strtold and qemu_strtold_finite

2019-11-26 Thread Markus Armbruster
Tao Xu writes: > On 11/26/2019 9:54 PM, Markus Armbruster wrote: >> Tao Xu writes: >> >>> Hi Markus, >>> >>> Do you have any comments on this patch and 02/14 05/14 06/14. >>> Thank you! >> >> These provide a new QAPI built-in type 'time'. It's like 'uint64' with >> an implied nanoseconds unit,

Re: [PATCH v17 01/14] util/cutils: Add Add qemu_strtold and qemu_strtold_finite

2019-11-26 Thread Tao Xu
On 11/26/2019 9:54 PM, Markus Armbruster wrote: Tao Xu writes: Hi Markus, Do you have any comments on this patch and 02/14 05/14 06/14. Thank you! These provide a new QAPI built-in type 'time'. It's like 'uint64' with an implied nanoseconds unit, and additional convenience syntax in the op

Re: [PATCH v17 01/14] util/cutils: Add Add qemu_strtold and qemu_strtold_finite

2019-11-26 Thread Markus Armbruster
Tao Xu writes: > Hi Markus, > > Do you have any comments on this patch and 02/14 05/14 06/14. > Thank you! These provide a new QAPI built-in type 'time'. It's like 'uint64' with an implied nanoseconds unit, and additional convenience syntax in the opts visitor and the keyval qobject input visit

Re: [PATCH v17 01/14] util/cutils: Add Add qemu_strtold and qemu_strtold_finite

2019-11-24 Thread Markus Armbruster
Tao Xu writes: > Work like qemu_strtod() and qemu_strtold_finite, except store long > double. > > Signed-off-by: Tao Xu > --- > > No changes in v17. > --- > include/qemu/cutils.h | 3 +++ > util/cutils.c | 48 ++- > 2 files changed, 50 insertions

Re: [PATCH v17 01/14] util/cutils: Add Add qemu_strtold and qemu_strtold_finite

2019-11-24 Thread Tao Xu
Hi Markus, Do you have any comments on this patch and 02/14 05/14 06/14. Thank you! On 11/22/2019 3:48 PM, Xu, Tao3 wrote: Work like qemu_strtod() and qemu_strtold_finite, except store long double. Signed-off-by: Tao Xu --- No changes in v17. --- include/qemu/cutils.h | 3 +++ util/cutil

[PATCH v17 01/14] util/cutils: Add Add qemu_strtold and qemu_strtold_finite

2019-11-21 Thread Tao Xu
Work like qemu_strtod() and qemu_strtold_finite, except store long double. Signed-off-by: Tao Xu --- No changes in v17. --- include/qemu/cutils.h | 3 +++ util/cutils.c | 48 ++- 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/incl