summaryrefslogtreecommitdiffstats
path: root/include/hw/block
diff options
context:
space:
mode:
authorRoman Kagan2020-05-29 00:55:13 +0200
committerKevin Wolf2020-06-17 14:53:40 +0200
commit645b55d1c2bf35ce6344f1f472fa30e327cafce0 (patch)
treec2ced41bd84866014d98cc61a3b288f22fdce0f1 /include/hw/block
parentqdev-properties: add size32 property type (diff)
downloadqemu-645b55d1c2bf35ce6344f1f472fa30e327cafce0.tar.gz
qemu-645b55d1c2bf35ce6344f1f472fa30e327cafce0.tar.xz
qemu-645b55d1c2bf35ce6344f1f472fa30e327cafce0.zip
qdev-properties: make blocksize accept size suffixes
It appears convenient to be able to specify physical_block_size and logical_block_size using common size suffixes. Teach the blocksize property setter to interpret them. Also express the upper and lower limits in the respective units. Signed-off-by: Roman Kagan <rvkagan@yandex-team.ru> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20200528225516.1676602-6-rvkagan@yandex-team.ru> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/hw/block')
0 files changed, 0 insertions, 0 deletions