commit | e5354657a626b325c31888f33de88ac6d39e2fcb | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Fri Nov 29 21:29:17 2013 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Jan 24 17:40:01 2014 +0100 |
tree | 23fdaf1aa96d4ec78c9f72a9560c6c3f637da0f0 | |
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>