aboutsummaryrefslogtreecommitdiff
path: root/util/oslib-posix.c
AgeCommit message (Expand)AuthorFilesLines
2022-04-06Remove qemu-common.h include from most unitsMarc-André Lureau1-1/+0
2022-04-06Move fcntl_setfl() to oslib-posixMarc-André Lureau1-0/+15
2022-04-06Replace qemu_real_host_page variables with inlined functionsMarc-André Lureau1-4/+4
2022-03-07util: Put qemu_vfree() in memalign.cPeter Maydell1-6/+0
2022-03-07util: Share qemu_try_memalign() implementation between POSIX and WindowsPeter Maydell1-29/+0
2022-03-07util: Return valid allocation for qemu_try_memalign() with zero sizePeter Maydell1-0/+3
2022-03-07util: Unify implementations of qemu_memalign()Peter Maydell1-14/+0
2022-03-07util: Make qemu_oom_check() a static functionPeter Maydell1-1/+1
2022-02-21include: Move qemu_madvise() and related #defines to new qemu/madvise.hPeter Maydell1-0/+1
2022-02-06util/oslib-posix: Fix missing unlock in the error path of os_mem_prealloc()David Hildenbrand1-0/+1
2022-01-07util/oslib-posix: Forward SIGBUS to MCE handler under LinuxDavid Hildenbrand1-3/+34
2022-01-07util/oslib-posix: Support concurrent os_mem_prealloc() invocationDavid Hildenbrand1-0/+9
2022-01-07util/oslib-posix: Avoid creating a single thread with MADV_POPULATE_WRITEDavid Hildenbrand1-0/+8
2022-01-07util/oslib-posix: Don't create too many threads with small memory or little p...David Hildenbrand1-2/+10
2022-01-07util/oslib-posix: Introduce and use MemsetContext for touch_all_pages()David Hildenbrand1-26/+47
2022-01-07util/oslib-posix: Support MADV_POPULATE_WRITE for os_mem_prealloc()David Hildenbrand1-21/+62
2022-01-07util/oslib-posix: Let touch_all_pages() return an errorDavid Hildenbrand1-12/+16
2021-06-15memory: Introduce RAM_NORESERVE and wire it up in qemu_ram_mmap()David Hildenbrand1-2/+4
2021-06-15util/mmap-alloc: Pass flags instead of separate bools to qemu_ram_mmap()David Hildenbrand1-1/+2
2021-06-04oslib-posix: Remove OpenBSD workaround for fcntl("/dev/null", F_SETFL, O_NONB...Brad Smith1-11/+0
2021-02-09memory: alloc RAM from file at offsetJagannathan Raman1-1/+1
2021-02-01memory: add readonly support to memory_region_init_ram_from_file()Stefan Hajnoczi1-1/+1
2021-01-07util/oslib: Assert qemu_try_memalign() alignment is a power of 2Philippe Mathieu-Daudé1-0/+2
2021-01-02cfi: Initial support for cfi-icall in QEMUDaniele Buono1-0/+11
2020-09-30oslib-posix: relocate path to /varPaolo Bonzini1-2/+4
2020-09-30oslib-posix: default exec_dir to bindirPaolo Bonzini1-15/+8
2020-09-30oslib: do not call g_strdup from qemu_get_exec_dirPaolo Bonzini1-3/+5
2020-09-16util: rename qemu_open() to qemu_open_old()Daniel P. Berrangé1-1/+1
2020-07-27util: add qemu_get_host_physmem utility functionAlex Bennée1-0/+15
2020-07-20util: Implement qemu_get_thread_id() for OpenBSDDavid CARLIER1-0/+2
2020-07-15net: check if the file descriptor is valid before using itLaurent Vivier1-8/+18
2020-07-13util: Introduce qemu_get_host_name()Michal Privoznik1-0/+35
2020-07-13util/oslib-posix.c: Implement qemu_init_exec_dir() for HaikuDavid CARLIER1-0/+19
2020-07-13osdep.h: Always include <sys/signal.h> if it existsDavid CARLIER1-1/+0
2020-06-23util/oslib-posix : qemu_init_exec_dir implementation for MacDavid CARLIER1-0/+15
2020-06-10util/oslib: Returns the real thread identifier on FreeBSD and NetBSDDavid Carlier1-0/+9
2020-04-11oslib-posix: take lock before qemu_cond_broadcastBauerchen1-0/+3
2020-03-16oslib-posix: initialize mutex and condition variablePaolo Bonzini1-0/+7
2020-02-25mem-prealloc: optimize large guest startupbauerchen1-8/+24
2019-10-26core: replace getpagesize() with qemu_real_host_page_sizeWei Yang1-2/+2
2019-09-16memory: fetch pmem size in get_file_size()Stefan Hajnoczi1-54/+0
2019-08-16Include qemu/main-loop.h lessMarkus Armbruster1-0/+1
2019-06-12Include qemu-common.h exactly where neededMarkus Armbruster1-0/+1
2019-04-25util/mmap-alloc: Add a 'is_pmem' parameter to qemu_ram_mmapZhang Yi1-1/+1
2019-03-12Merge remote-tracking branch 'remotes/ehabkost/tags/machine-next-pull-request...Peter Maydell1-0/+53
2019-03-11oslib-posix: Ignore fcntl("/dev/null", F_SETFL, O_NONBLOCK) failurePhilippe Mathieu-Daudé1-0/+12
2019-03-11hostmem-file: reject invalid pmem file sizesStefan Hajnoczi1-0/+53
2019-02-04mmap-alloc: fix hugetlbfs misaligned length in ppc64Murilo Opsfelder Araujo1-1/+1
2019-01-14util: check the return value of fcntl in qemu_set_{block, nonblock}Li Qiang1-2/+6
2018-11-06oslib-posix: Use MAP_STACK in qemu_alloc_stack() on OpenBSDBrad Smith1-2/+13