]> git.proxmox.com Git - mirror_qemu.git/commit
block/vhdx: Use IEC binary prefixes for size constants
authorStefano Garzarella <sgarzare@redhat.com>
Wed, 27 Mar 2019 09:56:34 +0000 (10:56 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 30 Apr 2019 13:29:00 +0000 (15:29 +0200)
commit0cb98af2187a5c7e1723fc28f8ed359634dff550
tree8b30d2fe9ae5b31e97aee692fe6844861a1c5e91
parente9991e29ea5efb91324a1b1e10fbf553867964df
block/vhdx: Use IEC binary prefixes for size constants

Using IEC binary prefixes in order to make the code more readable,
with the exception of DEFAULT_LOG_SIZE because it's passed to
stringify().

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vhdx-log.c
block/vhdx.c
block/vhdx.h