Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 7625a1ed013a042748753750c9d9b1a33c9cd8e0
https://github.com/qemu/qemu/commit/7625a1ed013a042748753750c9d9b1a33c9cd8e0
Author: Richard Henderson <[email protected]>
Date: 2021-03-15 (Mon, 15 Mar 2021)
Changed paths:
M tests/unit/test-cutils.c
M util/cutils.c
Log Message:
-----------
utils: Use fixed-point arithmetic in qemu_strtosz
Once we've parsed the fractional value, extract it into an integral
64-bit fraction. Perform the scaling with integer arithmetic, and
simplify the overflow detection.
Reviewed-by: Eric Blake <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 0693602a23276b076a679b1e7ed9125a444336b6
https://github.com/qemu/qemu/commit/0693602a23276b076a679b1e7ed9125a444336b6
Author: Peter Maydell <[email protected]>
Date: 2021-03-16 (Tue, 16 Mar 2021)
Changed paths:
M tests/unit/test-cutils.c
M util/cutils.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/rth-gitlab/tags/pull-misc-20210315'
into staging
Fix qemu_strtosz testsuite failures for i686.
# gpg: Signature made Mon 15 Mar 2021 18:49:12 GMT
# gpg: using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg: issuer "[email protected]"
# gpg: Good signature from "Richard Henderson <[email protected]>"
[full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A 05C0 64DF 38E8 AF7E 215F
* remotes/rth-gitlab/tags/pull-misc-20210315:
utils: Use fixed-point arithmetic in qemu_strtosz
Signed-off-by: Peter Maydell <[email protected]>
Compare: https://github.com/qemu/qemu/compare/5b7f5586d182...0693602a2327