summaryrefslogtreecommitdiffstats
path: root/python/Pipfile.lock
diff options
context:
space:
mode:
authorPaolo Bonzini2021-06-16 15:18:20 +0200
committerPaolo Bonzini2021-06-25 10:54:12 +0200
commitc9797456f64ce72c03eb2969d97ac1dd4698d91e (patch)
treefb86954ec52922943ab9f656b1ba0c9808e64801 /python/Pipfile.lock
parentscsi-generic: pass max_segments via max_iov field in BlockLimits (diff)
downloadqemu-c9797456f64ce72c03eb2969d97ac1dd4698d91e.tar.gz
qemu-c9797456f64ce72c03eb2969d97ac1dd4698d91e.tar.xz
qemu-c9797456f64ce72c03eb2969d97ac1dd4698d91e.zip
osdep: provide ROUND_DOWN macro
osdep.h provides a ROUND_UP macro to hide bitwise operations for the purpose of rounding a number up to a power of two; add a ROUND_DOWN macro that does the same with truncation towards zero. While at it, change the formatting of some comments. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'python/Pipfile.lock')
0 files changed, 0 insertions, 0 deletions