qdev-properties: blocksize: use same limits in code and description
commita345c5523607a0a4549990cce1be096b63df9668
authorRoman Kagan <rvkagan@yandex-team.ru>
Thu, 28 May 2020 22:55:11 +0000 (29 01:55 +0300)
committerKevin Wolf <kwolf@redhat.com>
Wed, 17 Jun 2020 12:53:40 +0000 (17 14:53 +0200)
treee2066a709bab434558bc8963dbe1ccbfa9dc9dd1
parentc56ee92fcba8cc922b1b2188ac20614d20223db2
qdev-properties: blocksize: use same limits in code and description

Make it easier (more visible) to maintain the limits on the blocksize
properties in sync with the respective description, by using macros both
in the code and in the description.

Signed-off-by: Roman Kagan <rvkagan@yandex-team.ru>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200528225516.1676602-4-rvkagan@yandex-team.ru>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/core/qdev-properties.c