summaryrefslogtreecommitdiffstats
path: root/include/exec/memory.h
diff options
context:
space:
mode:
authorFam Zheng2014-04-28 04:59:28 +0200
committerKevin Wolf2014-04-28 17:36:30 +0200
commitf0e973601250a3f1579ff77230c419c562958fa8 (patch)
treef53946ceadb64ac9bcacb9ff4b6fe5b94901bbae /include/exec/memory.h
parentblock: fix qemu-img --help invocation (diff)
downloadqemu-f0e973601250a3f1579ff77230c419c562958fa8.tar.gz
qemu-f0e973601250a3f1579ff77230c419c562958fa8.tar.xz
qemu-f0e973601250a3f1579ff77230c419c562958fa8.zip
mirror: Use DIV_ROUND_UP
Although bdrv_getlength() was just called above this, and checked for error, it is better to just use the value we already get, and use DIV_ROUND_UP. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/exec/memory.h')
0 files changed, 0 insertions, 0 deletions