aboutsummaryrefslogtreecommitdiff
path: root/util/cutils.c
AgeCommit message (Expand)AuthorFilesLines
2023-10-19cutils: Fix get_relocated_path on WindowsAkihiko Odaki1-7/+11
2023-10-18meson, cutils: allow non-relocatable installsPaolo Bonzini1-3/+8
2023-10-09Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into stagingStefan Hajnoczi1-0/+9
2023-10-08cutils: squelch compiler warnings with custom pathsPaolo Bonzini1-0/+9
2023-10-06util/cutils: Clean up global variable shadowing in get_relocated_path()Philippe Mathieu-Daudé1-1/+0
2023-06-02cutils: Improve qemu_strtosz handling of fractionsEric Blake1-22/+68
2023-06-02cutils: Improve qemu_strtod* error pathsEric Blake1-13/+19
2023-06-02cutils: Use parse_uint in qemu_strtosz for negative rejectionEric Blake1-6/+2
2023-06-02cutils: Set value in all integral qemu_strto* error pathsEric Blake1-16/+26
2023-06-02cutils: Set value in all qemu_strtosz* error pathsEric Blake1-5/+12
2023-06-02cutils: Allow NULL str in qemu_strtoszEric Blake1-1/+1
2023-06-02cutils: Allow NULL endptr in parse_uint()Eric Blake1-22/+12
2023-06-02cutils: Adjust signature of parse_uint[_full]Eric Blake1-7/+6
2023-06-02cutils: Document differences between parse_uint and qemu_strtou64Eric Blake1-8/+12
2023-06-02cutils: Fix wraparound parsing in qemu_strtouiEric Blake1-6/+19
2023-01-06util: remove support for hex numbers with a scaling suffixPaolo Bonzini1-11/+3
2022-08-12cutils: Add missing dyld(3) include on macOSPhilippe Mathieu-Daudé1-0/+4
2022-07-18util: Fix broken build on HaikuThomas Huth1-0/+4
2022-07-13cutils: Introduce bundle mechanismAkihiko Odaki1-21/+47
2022-06-14cutils: add functions for IEC and SI prefixesPaolo Bonzini1-9/+25
2022-05-28include: move qemu_*_exec_dir() to cutilsMarc-André Lureau1-0/+117
2022-04-21include: move qemu_fdatasync() to osdepMarc-André Lureau1-16/+0
2022-04-21include: move qemu_msync() to osdepMarc-André Lureau1-38/+0
2022-04-06Remove qemu-common.h include from most unitsMarc-André Lureau1-1/+0
2022-04-06Move fcntl_setfl() to oslib-posixMarc-André Lureau1-17/+0
2022-04-06Replace qemu_real_host_page variables with inlined functionsMarc-André Lureau1-2/+2
2022-03-22util: remove the net/net.h dependencyMarc-André Lureau1-14/+0
2022-03-22util: remove needless includesMarc-André Lureau1-2/+0
2021-05-13cutils: fix memory leak in get_relocated_path()Stefano Garzarella1-1/+1
2021-03-24utils: Work around mingw strto*l bug with 0xEric Blake1-8/+21
2021-03-24utils: Tighter tests for qemu_strtoszEric Blake1-1/+3
2021-03-15utils: Use fixed-point arithmetic in qemu_strtoszRichard Henderson1-15/+35
2021-03-08utils: Deprecate hex-with-suffix sizesEric Blake1-1/+9
2021-03-08utils: Improve qemu_strtosz() to have 64 bits of precisionEric Blake1-21/+69
2021-02-16util/cutils: Skip "." when looking for next directory componentStefan Weil1-1/+2
2020-11-17util/cutils: Fix Coverity array overrun in freq_to_str()Philippe Mathieu-Daudé1-1/+2
2020-11-03cutils: replace strdup with g_strdupPaolo Bonzini1-1/+1
2020-10-26win32: boot broken when bind & data dir are the sameSunil Muthuswamy1-1/+1
2020-10-16util/cutils: Introduce freq_to_str() to display Hertz unitsPhilippe Mathieu-Daudé1-0/+14
2020-09-30cutils: introduce get_relocated_pathPaolo Bonzini1-0/+61
2019-12-18util/cutils: Turn FIXME comment into QEMU_BUILD_BUG_ON()Markus Armbruster1-3/+5
2019-12-16Memory: Enable writeback for given memory regionBeata Michalska1-0/+38
2019-11-25util/cutils: Fix incorrect integer->float conversion caught by clangFangrui Song1-3/+5
2019-07-15cutils: remove one unnecessary pointer operationWei Yang1-4/+4
2019-06-12Include qemu-common.h exactly where neededMarkus Armbruster1-0/+1
2019-06-11qemu-common: Move qemu_isalnum() etc. to qemu/ctype.hMarkus Armbruster1-1/+2
2019-05-22cutils: Simplify how parse_uint() checks for whitespaceMarkus Armbruster1-1/+1
2019-04-30cutils: Fix size_to_str() on 32-bit platformsEric Blake1-1/+1
2018-12-13cutils: Fix qemu_strtosz() & friends to reject non-finite sizesDavid Hildenbrand1-10/+8
2018-12-13cutils: Add qemu_strtod() and qemu_strtod_finite()David Hildenbrand1-0/+65