summary refs log tree commit diff stats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorRoman Kagan <rvkagan@yandex-team.ru>2020-05-29 01:55:15 +0300
committerKevin Wolf <kwolf@redhat.com>2020-06-17 14:53:40 +0200
commit031ffd9a612618e86eb1d783b285d658e95f117d (patch)
tree1e070b2ed1d3186fe3c10769a36fc483b6b5f364 /scripts/qapi/source.py
parent4f44bbc5bba0858d34b1aa356397847696276546 (diff)
downloadfocaccia-qemu-031ffd9a612618e86eb1d783b285d658e95f117d.tar.gz
focaccia-qemu-031ffd9a612618e86eb1d783b285d658e95f117d.zip
qdev-properties: add getter for size32 and blocksize
Add getter for size32, and use it for blocksize, too.

In its human-readable branch, it reports approximate size in
human-readable units next to the exact byte value, like the getter for
64bit size does.

Adjust the expected test output accordingly.

Signed-off-by: Roman Kagan <rvkagan@yandex-team.ru>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200528225516.1676602-8-rvkagan@yandex-team.ru>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions