summaryrefslogtreecommitdiffstats
path: root/block/export
diff options
context:
space:
mode:
authorPeter Maydell2022-02-26 19:07:23 +0100
committerPeter Maydell2022-03-07 14:16:49 +0100
commit5df022cf2e5e24910a7d579d5780ae78bc24f247 (patch)
tree475c3c3b46e973f322f6ed248ac145086c571dec /block/export
parentutil: Put qemu_vfree() in memalign.c (diff)
downloadqemu-5df022cf2e5e24910a7d579d5780ae78bc24f247.tar.gz
qemu-5df022cf2e5e24910a7d579d5780ae78bc24f247.tar.xz
qemu-5df022cf2e5e24910a7d579d5780ae78bc24f247.zip
osdep: Move memalign-related functions to their own header
Move the various memalign-related functions out of osdep.h and into their own header, which we include only where they are used. While we're doing this, add some brief documentation comments. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20220226180723.1706285-10-peter.maydell@linaro.org
Diffstat (limited to 'block/export')
-rw-r--r--block/export/fuse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/export/fuse.c b/block/export/fuse.c
index 5029e70f84..e80b24a867 100644
--- a/block/export/fuse.c
+++ b/block/export/fuse.c
@@ -19,6 +19,7 @@
#define FUSE_USE_VERSION 31
#include "qemu/osdep.h"
+#include "qemu/memalign.h"
#include "block/aio.h"
#include "block/block.h"
#include "block/export.h"