hw/virtio: Use the IEC binary prefix definitions
commitc9ad15d71eb6de8f54060bc7a25e446c0f7a83ed
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 25 Jun 2018 12:42:30 +0000 (25 09:42 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Jul 2018 13:41:17 +0000 (2 15:41 +0200)
tree2741ff3daff3b21d8d9becbc299da91a82a6177d
parente0255bb1acc3c100a02c0f708a144e77165b99d5
hw/virtio: Use the IEC binary prefix definitions

It eases code review, unit is explicit.

Patch generated using:

  $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/

and modified manually.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180625124238.25339-39-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/hw/virtio/virtio-net.h