summaryrefslogtreecommitdiff
path: root/cutils.c
AgeCommit message (Expand)AuthorFilesLines
2012-10-30fdsets: use weak aliases instead of qemu-tool.c/qemu-user.cPaolo Bonzini1-5/+0
2012-10-30janitor: move iovector functions out of cutils.cPaolo Bonzini1-103/+0
2012-10-05rtc: fix overflow in mktimegmPaolo Bonzini1-1/+1
2012-08-15block: Enable qemu_open/close to work with fd setsCorey Bryant1-0/+5
2012-08-08Add uleb encoding/decoding functionsOrit Wasserman1-0/+33
2012-08-08Add cache handling functionsOrit Wasserman1-0/+9
2012-07-26cutils: add strpadcpy()Dmitry Fleytman1-0/+7
2012-06-11rewrite iov_send_recv() and move it to iov.cMichael Tokarev1-83/+0
2012-06-11export iov_send_recv() and use it in iov_send() and iov_recv()Michael Tokarev1-14/+3
2012-06-11rename qemu_sendv to iov_send, change proto and move declarations to iov.hMichael Tokarev1-28/+13
2012-06-11change qemu_iovec_to_buf() to match other to,from_buf functionsMichael Tokarev1-8/+3
2012-06-11consolidate qemu_iovec_copy() and qemu_iovec_concat() and make them consistentMichael Tokarev1-34/+20
2012-06-11allow qemu_iovec_from_buffer() to specify offset from which to start copyingMichael Tokarev1-13/+3
2012-06-11consolidate qemu_iovec_memset{,_skip}() into single function and use existing...Michael Tokarev1-40/+4
2012-02-09cutils: extract buffer_is_zero() from qemu-img.cStefan Hajnoczi1-0/+35
2011-12-22sheepdog: move coroutine send/recv function to generic codePaolo Bonzini1-0/+111
2011-12-15qiov: prevent double free or use-after-freePaolo Bonzini1-0/+3
2011-11-28cutils: Make strtosz & friends leave follow set to callersMarkus Armbruster1-44/+26
2011-11-28cutils: Drop broken support for zero strtosz default_suffixMarkus Armbruster1-13/+4
2011-11-01Move filedescriptor parsing code from net.c into qemu_parse_fd()Stefan Berger1-0/+12
2011-08-25Fix up some style nits of last uq/master mergeJan Kiszka1-1/+1
2011-08-20Use glib memory allocation and free functionsAnthony Liguori1-3/+3
2011-08-05qemu: Add strtosz_suffix_unit functionJoerg Roedel1-5/+11
2011-02-10QCOW2: bug fix - read base image beyond its sizeChunqiang Tang1-0/+31
2011-01-31strtosz(): Use suffix macros in switch() statementJes Sorensen1-5/+5
2011-01-31strtosz(): Fix name confusion in use of modf()Jes Sorensen1-2/+2
2011-01-31strtosz() use qemu_toupper() to simplify switch statementJes Sorensen1-6/+1
2011-01-31strtosz(): use unsigned char and switch to qemu_isspace()Jes Sorensen1-3/+4
2011-01-24Make strtosz() return int64_t instead of ssize_tJes Sorensen1-4/+4
2010-12-17Introduce strtosz_suffix()Jes Sorensen1-3/+14
2010-11-03Introduce strtosz() library function to convert a string to a byte count.Jes Sorensen1-0/+88
2010-09-21cutils: qemu_iovec_copy and qemu_iovec_memsetKevin Wolf1-9/+41
2010-03-17split out qemu-timer.cPaolo Bonzini1-0/+18
2009-09-20Probe for fdatasync()Blue Swirl1-1/+1
2009-09-11block: use fdatasync instead of fsync if possibleChristoph Hellwig1-0/+16
2009-09-11Add bdrv_aio_multiwriteKevin Wolf1-0/+25
2009-07-09Revert "support colon in filenames"Anthony Liguori1-26/+0
2009-07-01Fix missing strnlen problemsBlue Swirl1-0/+13
2009-06-29support colon in filenamesRam Pai1-0/+26
2009-05-13Include assert.h from qemu-common.hPaul Brook1-1/+0
2009-03-28add qemu_iovec_init_external (Christoph Hellwig)aliguori1-0/+19
2009-02-05Add qemu_iovec_reset() (Avi Kivity)aliguori1-0/+6
2009-01-26qemu iovec: keep track of total size, allow partial copies (Gerd Hoffman)aliguori1-4/+11
2009-01-22I/O vector helpers (Avi Kivity)aliguori1-0/+47
2008-12-11Rename fls to qemu_flsblueswir11-1/+1
2008-12-04Define fls() in terms of clz32().aliguori1-7/+2
2008-12-04Introduce fls() helperaliguori1-0/+11
2008-11-16Attached patch fixes a series of this warningblueswir11-1/+1
2008-11-08Revert r5532, r5536 and a piece of r5531.balrog1-12/+0
2008-10-25Replace uses of strndup (a GNU extension) with Qemu pstrdupblueswir11-0/+12