]> git.proxmox.com Git - mirror_qemu.git/commit - hw/display/bochs-display.c
hw/display: Use the IEC binary prefix definitions
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 25 Jun 2018 12:42:06 +0000 (09:42 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Jul 2018 13:41:13 +0000 (15:41 +0200)
commitf0353b0d10dcb2a58372fe70af09c09195ec6098
tree48388c0f53d2ef1ed4014f9bcfc4550ef1832357
parente8400cf3856a6de77d6080dfc9c84f226006f07d
hw/display: 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: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20180625124238.25339-15-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/display/bochs-display.c
hw/display/cirrus_vga.c
hw/display/g364fb.c
hw/display/qxl.c
hw/display/vga-isa-mm.c
hw/display/vga.c
hw/display/virtio-gpu.c
hw/display/vmware_vga.c
hw/display/xenfb.c
include/hw/display/xlnx_dp.h