diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2022-02-26 18:07:23 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-03-07 13:16:49 +0000 |
commit | 5df022cf2e5e24910a7d579d5780ae78bc24f247 (patch) | |
tree | 475c3c3b46e973f322f6ed248ac145086c571dec /block/vmdk.c | |
parent | 1a11265d7e854203652606b671a0e02ba100a249 (diff) | |
download | qemu-5df022cf2e5e24910a7d579d5780ae78bc24f247.zip qemu-5df022cf2e5e24910a7d579d5780ae78bc24f247.tar.gz qemu-5df022cf2e5e24910a7d579d5780ae78bc24f247.tar.bz2 |
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/vmdk.c')
-rw-r--r-- | block/vmdk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/vmdk.c b/block/vmdk.c index 0dfab6e..37c0946 100644 --- a/block/vmdk.c +++ b/block/vmdk.c @@ -33,6 +33,7 @@ #include "qemu/module.h" #include "qemu/option.h" #include "qemu/bswap.h" +#include "qemu/memalign.h" #include "migration/blocker.h" #include "qemu/cutils.h" #include <zlib.h> |