diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-11-29 21:29:17 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-01-24 17:40:01 +0100 |
commit | e5354657a626b325c31888f33de88ac6d39e2fcb (patch) | |
tree | 23fdaf1aa96d4ec78c9f72a9560c6c3f637da0f0 /block.c | |
parent | 355ef4ac95a7a47d5c7201ccd910056a100d2fdf (diff) |
qemu_memalign: Allow small alignments
The functions used by qemu_memalign() require an alignment that is at
least sizeof(void*). Adjust it if it is too small.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: BenoƮt Canet <benoit@irqsave.net>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions