Re: [Qemu-devel] [PATCH v3 06/43] qapi: merge QInt and QFloat in QNum

2017-06-08 Thread Markus Armbruster
Marc-André Lureau writes: > We would like to use a same QObject type to represent numbers, whether > they are int, uint, or floats. Getters will allow some compatibility > between the various types if the number fits other representations. > > Add a few more tests while at it. > > Signed-off-by:

[Qemu-devel] [PATCH v3 06/43] qapi: merge QInt and QFloat in QNum

2017-06-07 Thread Marc-André Lureau
We would like to use a same QObject type to represent numbers, whether they are int, uint, or floats. Getters will allow some compatibility between the various types if the number fits other representations. Add a few more tests while at it. Signed-off-by: Marc-André Lureau --- scripts/qapi.py