hw: Use IEC binary prefix definitions from "qemu/units.h"
commitd23b6caadbfaf56092593e8ff22fb5797db38488
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 25 Jun 2018 12:41:57 +0000 (25 09:41 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Jul 2018 13:41:10 +0000 (2 15:41 +0200)
tree2c73a6ed5040c12b2968540dddb81da57e174765
parent5fa96cad01bf408064aeea19812c0692ddfbd2b6
hw: Use IEC binary prefix definitions from "qemu/units.h"

Code change produced with:

  $ git ls-files | egrep '\.[ch]$' | \
    xargs sed -i -e 's/\(\W[KMGTPE]\)_BYTE/\1iB/g'

Suggested-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: David Gibson <david@gibson.dropbear.id.au> (ppc parts)
Message-Id: <20180625124238.25339-6-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
19 files changed:
hw/arm/msf2-soc.c
hw/arm/msf2-som.c
hw/core/loader-fit.c
hw/core/machine.c
hw/display/sm501.c
hw/hppa/machine.c
hw/mips/boston.c
hw/ppc/pnv.c
hw/ppc/ppc440_uc.c
hw/ppc/prep.c
hw/ppc/sam460ex.c
hw/ppc/spapr.c
hw/ppc/spapr_rtas.c
hw/sd/sd.c
hw/sd/sdhci.c
include/qemu/cutils.h
tests/test-cutils.c
tests/test-keyval.c
tests/test-qemu-opts.c