diff options
| author | Michael Roth | 2013-05-11 00:46:07 +0200 |
|---|---|---|
| committer | Luiz Capitulino | 2013-05-23 15:44:21 +0200 |
| commit | 089f26bb735fb414b79f5fa3753910d5339d2a1d (patch) | |
| tree | e7ce56d929f7505be1dcb744a3c863be1943dd09 /docs | |
| parent | qapi: add QMP input test for large integers (diff) | |
| download | qemu-089f26bb735fb414b79f5fa3753910d5339d2a1d.tar.gz qemu-089f26bb735fb414b79f5fa3753910d5339d2a1d.tar.xz qemu-089f26bb735fb414b79f5fa3753910d5339d2a1d.zip | |
qapi: fix visitor serialization tests for numbers/doubles
We never actually stored the stringified double values into the strings
before we did the comparisons. This left number/double values completely
uncovered in test-visitor-serialization tests.
Fixing this exposed a bug in our handling of large whole number values
in QEMU's JSON parser which is now fixed.
Simplify the code while we're at it by dropping the
calc_float_string_storage() craziness in favor of GStrings.
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Amos Kong <akong@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
