summaryrefslogtreecommitdiffstats
path: root/qemu-timer.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2014-04-28 10:59:28 +0800
committerKevin Wolf <kwolf@redhat.com>2014-04-28 17:36:30 +0200
commitf0e973601250a3f1579ff77230c419c562958fa8 (patch)
treef53946ceadb64ac9bcacb9ff4b6fe5b94901bbae /qemu-timer.c
parent7db1689c35a6f7477c691c31232ec10725ba9dfe (diff)
downloadhqemu-f0e973601250a3f1579ff77230c419c562958fa8.zip
hqemu-f0e973601250a3f1579ff77230c419c562958fa8.tar.gz
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 'qemu-timer.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud