hw/s390x: Use the IEC binary prefix definitions
commit393fc4c740d8d83d45bdbcd5f6a4cbc6be09b600
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 25 Jun 2018 12:42:11 +0000 (25 09:42 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Jul 2018 13:41:14 +0000 (2 15:41 +0200)
treeb33656cfb7db1f0c26e866d4c970362e5fb445d1
parent0a2e467bcebfed27bd0d1cd17992938e8a3fbb66
hw/s390x: 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>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20180625124238.25339-20-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/s390x/s390-skeys.c
hw/s390x/s390-stattrib.c
hw/s390x/sclp.c