]> git.proxmox.com Git - mirror_qemu.git/commit - hw/vfio/pci-quirks.c
hw/vfio: Use the IEC binary prefix definitions
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 25 Jun 2018 12:42:29 +0000 (09:42 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Jul 2018 13:41:16 +0000 (15:41 +0200)
commite0255bb1acc3c100a02c0f708a144e77165b99d5
tree496d6989ca7ea1ec9082adc06e96fbcec6ac58a3
parent4c8f9735da6111b9b1e52f12ee0ef4f481bc3b17
hw/vfio: 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-38-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/vfio/pci-quirks.c
hw/vfio/pci.c