diff options
| author | Roman Kagan | 2020-05-29 00:55:13 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2020-06-17 14:53:40 +0200 |
| commit | 645b55d1c2bf35ce6344f1f472fa30e327cafce0 (patch) | |
| tree | c2ced41bd84866014d98cc61a3b288f22fdce0f1 /include | |
| parent | qdev-properties: add size32 property type (diff) | |
| download | qemu-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')
0 files changed, 0 insertions, 0 deletions
