include: Move qemu_madvise() and related #defines to new qemu/madvise.h
The function qemu_madvise() and the QEMU_MADV_* constants associated with it are used in only 10 files. Move them out of osdep.h to a new qemu/madvise.h header that is included where it is needed. Signed-off-by:Peter Maydell <peter.maydell@linaro.org> Reviewed-by:
Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by:
Richard Henderson <richard.henderson@linaro.org> Message-id: 20220208200856.3558249-2-peter.maydell@linaro.org
Showing
- backends/hostmem-file.c 1 addition, 0 deletionsbackends/hostmem-file.c
- backends/hostmem.c 1 addition, 0 deletionsbackends/hostmem.c
- hw/virtio/virtio-balloon.c 1 addition, 0 deletionshw/virtio/virtio-balloon.c
- include/qemu/madvise.h 95 additions, 0 deletionsinclude/qemu/madvise.h
- include/qemu/osdep.h 0 additions, 82 deletionsinclude/qemu/osdep.h
- migration/postcopy-ram.c 1 addition, 0 deletionsmigration/postcopy-ram.c
- migration/qemu-file.c 1 addition, 0 deletionsmigration/qemu-file.c
- migration/ram.c 1 addition, 0 deletionsmigration/ram.c
- softmmu/physmem.c 1 addition, 0 deletionssoftmmu/physmem.c
- tcg/region.c 1 addition, 0 deletionstcg/region.c
- util/osdep.c 1 addition, 0 deletionsutil/osdep.c
- util/oslib-posix.c 1 addition, 0 deletionsutil/oslib-posix.c
Loading
Please register or sign in to comment