aboutsummaryrefslogtreecommitdiffstats
path: root/util
AgeCommit message (Expand)AuthorFilesLines
2014-11-02util: Improve os_mem_prealloc error messageMichal Privoznik1-1/+2
2014-10-09Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into stagingPeter Maydell2-10/+33
2014-10-09qemu-sockets: Add error to non-blocking connect handlerCorey Minyard1-5/+15
2014-10-09qemu-error: Add error_vreport()Corey Minyard1-5/+18
2014-10-03util: Emancipate id_wellformed() from QemuOptsMarkus Armbruster3-16/+30
2014-09-29Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into stagingPeter Maydell1-13/+13
2014-09-26qemu-socket: Eliminate silly QERR_ macrosMarkus Armbruster1-13/+13
2014-09-25block: Validate node-nameKevin Wolf1-2/+2
2014-09-16util/qemu-sockets.c: Support specifying IPv4 or IPv6 in socket_dgram()Peter Maydell1-2/+1
2014-09-09util: Don't link host-utils.o if it's emptyFam Zheng2-3/+2
2014-09-09util: Move general qemu_getauxval to util/getauxval.cFam Zheng1-0/+8
2014-08-24util/path: Use the GLib memory allocation routineszhanghailiang1-5/+5
2014-08-15Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-2014-08-15' in...Peter Maydell1-1/+1
2014-08-15don't use 'Yoda conditions'Gonglei1-1/+1
2014-08-15block: Introduce qemu_try_blockalign()Kevin Wolf2-8/+17
2014-07-18module: Don't complain when a module is absentAndreas Färber1-3/+0
2014-07-18module: Simplify module_load()Andreas Färber1-4/+2
2014-07-14Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into stagingPeter Maydell1-0/+13
2014-07-14dma-helpers: Fix too long qiovKevin Wolf1-0/+13
2014-07-10oslib-posix: Fix new compiler error with -WclobberedStefan Weil1-14/+16
2014-06-26qemu_opts_append: Play nicely with QemuOptsList's headMichal Privoznik1-1/+10
2014-06-24Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into stagingPeter Maydell1-5/+5
2014-06-23qapi event: convert SPICE eventsWenchao Xia1-10/+0
2014-06-23qapi: adjust existing definesWenchao Xia1-0/+10
2014-06-23tcg-ppc: Merge cache-utils into the backendRichard Henderson2-87/+1
2014-06-23qemu/osdep: Remove the need for qemu_init_auxvalRichard Henderson1-12/+39
2014-06-21QemuOpts: check NULL opts in qemu_opt_get functionsChunyan Liu1-4/+24
2014-06-20Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into stagingPeter Maydell2-0/+92
2014-06-19memory: move preallocation code out of exec.cPaolo Bonzini2-0/+92
2014-06-19Merge remote-tracking branch 'remotes/bonzini/scsi-next' into stagingPeter Maydell1-4/+6
2014-06-19w32: Fix regression caused by new g_poll implementationStefan Weil1-78/+174
2014-06-18util: add return value to qemu_iovec_concat_iovPaolo Bonzini1-4/+6
2014-06-16Merge remote-tracking branch 'remotes/agraf/tags/signed-ppc-for-upstream' int...Peter Maydell1-0/+343
2014-06-16util: Add InvMixColumnsTom Musta1-0/+265
2014-06-16util: Add AES ShiftRows and InvShiftRows TablesTom Musta1-0/+8
2014-06-16util: Add S-Box and InvS-Box Arrays to Common AES UtilsTom Musta1-0/+70
2014-06-16QemuOpts: cleanup tmp 'allocated' member from QemuOptsListChunyan Liu1-24/+3
2014-06-16cleanup QEMUOptionParameterChunyan Liu1-423/+4
2014-06-16QemuOpts: export qemu_opt_findChunyan Liu1-1/+1
2014-06-16QemuOpts: check NULL input for qemu_opts_delChunyan Liu1-0/+4
2014-06-16QemuOpts: add qemu_opts_append to replace append_option_parametersChunyan Liu1-0/+67
2014-06-16QemuOpts: add conversion between QEMUOptionParameter to QemuOptsChunyan Liu1-0/+153
2014-06-16QemuOpts: add qemu_opts_print_help to replace print_option_helpChunyan Liu1-0/+13
2014-06-16QemuOpts: add qemu_opt_get_*_del functions for replace workChunyan Liu1-13/+104
2014-06-16QemuOpts: move qemu_opt_del ahead for later callingChunyan Liu1-8/+8
2014-06-16QemuOpts: change opt->name|str from (const char *) to (char *)Chunyan Liu1-2/+2
2014-06-16qapi: output def_value_str when query command line optionsChunyan Liu1-0/+4
2014-06-16QemuOpts: add def_value_str to QemuOptDescChunyan Liu1-7/+49
2014-06-16QemuOpts: repurpose qemu_opts_print to replace print_option_parametersChunyan Liu1-6/+4
2014-06-16QemuOpts: move find_desc_by_name ahead for later callingChunyan Liu1-14/+14
2014-06-13inet_listen_opts: add error checkingGerd Hoffmann1-2/+13
2014-06-11Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into stagingPeter Maydell1-0/+15
2014-06-11readline: Clear screen on form feed.Hani Benhabiles1-0/+9
2014-06-11readline: Make completion strings always uniqueHani Benhabiles1-0/+6
2014-06-11util/qemu-openpty: fix build with musl libc by include termios.h as fallbackNatanael Copa1-0/+2
2014-06-11util/hbitmap.c: Use ctpopl rather than reimplementing a local equivalentPeter Maydell1-7/+2
2014-06-10util/qemu-sockets.c: Avoid unused variable warningsPeter Maydell1-2/+1
2014-06-04throttle: add throttle_detach/attach_aio_context()Stefan Hajnoczi1-4/+23
2014-05-22Merge remote-tracking branch 'remotes/kraxel/tags/pull-chardev-2' into stagingPeter Maydell2-17/+16
2014-05-21error: error_is_set() is finally unused; removeMarkus Armbruster1-5/+0
2014-05-21qemu-socket: Clean up inet_connect_opts()Markus Armbruster1-12/+16
2014-05-19util: add qemu_iovec_is_zeroPeter Lieven1-0/+21
2014-05-13savevm: Remove all the unneeded version_minimum_id_old (arm)Juan Quintela1-2/+1
2014-05-13Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into ...Peter Maydell1-0/+112
2014-05-09glib: fix g_poll early timeout on windowsSangho Park1-0/+112
2014-05-09qemu-option: Clean up fragile use of error_is_set()Markus Armbruster1-1/+1
2014-05-09error: Consistently name Error ** objects errp, and not errMarkus Armbruster1-4/+4
2014-05-08cutils: tighten qemu_parse_fd()Laszlo Ersek1-3/+10
2014-05-07readline: Sort completions before printing them.Hani Benhabiles1-0/+7
2014-05-07readline: use g_strndup instead of open-coding itMichael Tokarev1-3/+1
2014-05-07do not call g_thread_init() for glib >= 2.31Michael Tokarev1-12/+9
2014-04-28Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-2014-04-28' in...Peter Maydell2-1/+17
2014-04-28init_paths: fix minor memory leakKirill Batuzov1-1/+3
2014-04-27qemu-option: introduce qemu_find_opts_singletonPaolo Bonzini1-0/+14
2014-04-25error: Remove some unused headersCole Robinson1-4/+1
2014-04-25qerror.h: Remove QERR defines that are only used onceCole Robinson2-2/+2
2014-04-25error: Print error_report() to stderr if using qmpCole Robinson1-1/+1
2014-04-25error: Privatize error_print_locCole Robinson1-1/+1
2014-03-28Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into stagingPeter Maydell2-3/+20
2014-03-27Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-2014-03-27' in...Peter Maydell1-1/+1
2014-03-27Detect pthread_setname_np at configure timeDr. David Alan Gilbert2-3/+20
2014-03-27util: Add 'static' attribute to function implementationStefan Weil1-1/+1
2014-03-27util: add qemu_ether_ntoaAlexey Kardashevskiy1-0/+14
2014-03-25osdep: initialize glib threads in all QEMU toolsStefan Hajnoczi1-0/+18
2014-03-13Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into ...Peter Maydell2-0/+79
2014-03-13oslib-posix: Fix build on FreeBSDAndreas Färber1-0/+4
2014-03-13rfifolock: add recursive FIFO lockStefan Hajnoczi2-0/+79
2014-03-11qemu-thread-posix: Fix build against older glibc versionJan Kiszka1-1/+1
2014-03-09Add a 'name' parameter to qemu_thread_createDr. David Alan Gilbert3-4/+10
2014-03-09Add 'debug-threads' suboption to --nameDr. David Alan Gilbert2-0/+15
2014-03-05target-ppc: Add ISA2.06 divde[o] InstructionsTom Musta1-0/+37
2014-03-05target-ppc: Add ISA2.06 divdeu[o] InstructionsTom Musta1-0/+38
2014-03-03util/iov: Use qemu/sockets.h instead of conditional codeStefan Weil1-8/+1
2014-02-28modules: Fix building with --enable-modulesFam Zheng1-1/+1
2014-02-25modules: do not include gmodule-2.0 in static buildsPaolo Bonzini1-0/+2
2014-02-25Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into stagingPeter Maydell3-0/+161
2014-02-24Merge remote-tracking branch 'remotes/bonzini/configure' into stagingPeter Maydell3-2/+227
2014-02-21blkverify: Extract qemu_iovec_clone() and qemu_iovec_compare() from blkverify.Benoît Canet1-0/+106
2014-02-21qemu-config: Sections must consist of keysMax Reitz1-0/+6
2014-02-21qemu-option: has_help_option() and is_valid_option_list()Kevin Wolf1-0/+49
2014-02-20module: implement module loadingFam Zheng1-2/+143
2014-02-20util: Split out exec_dir from os_find_datadirFam Zheng2-0/+84
2014-02-17Use error_is_set() only when necessaryMarkus Armbruster2-19/+19
2014-02-08util/fifo8: clear fifo head upon resetBeniamino Galvani1-0/+1
2014-02-08util/fifo8: implement push/pop of multiple bytesBeniamino Galvani1-0/+46
2014-02-01osdep: drop unused #include "trace.h"Stefan Hajnoczi1-1/+0
2014-01-24qemu_memalign: Allow small alignmentsKevin Wolf1-0/+5
2014-01-24qemu-progress: Fix progress printing on SIGUSR1Kevin Wolf1-0/+10
2014-01-24qemu-progress: Drop unused includeKevin Wolf1-1/+0
2014-01-22qemu-option: Add qemu_config_parse_qdict()Max Reitz1-0/+100
2014-01-22osdep: add qemu_set_tty_echo()Stefan Hajnoczi2-0/+37
2014-01-22readline: move readline to a generic locationStefan Hajnoczi2-0/+496
2014-01-17Revert "error: Don't use error_report() for assertion msgs."Peter Crosthwaite1-4/+4
2014-01-15error: Don't use error_report() for assertion msgs.Peter Crosthwaite1-4/+4
2014-01-14Merge remote branch 'luiz/queue/qmp' into qmpqEdgar E. Iglesias4-20/+31
2014-01-13bitmap: use long as indexJuan Quintela1-30/+30
2014-01-06qemu-option: Remove qemu_opts_create_nofailPeter Crosthwaite3-19/+10
2014-01-06error: Add error_abortPeter Crosthwaite1-1/+21
2013-12-06Merge remote-tracking branch 'kwolf/tags/for-anthony' into stagingAnthony Liguori1-0/+6
2013-11-30util: Use qemu_getauxval in linux qemu_cache_utils_initRichard Henderson1-31/+20
2013-11-30osdep: Create qemu_getauxval and qemu_init_auxvalRichard Henderson2-0/+75
2013-11-28util/error: Save errno from clobberingMax Reitz1-0/+6
2013-11-14qmp: access the local QemuOptsLists for drive optionAmos Kong1-1/+76
2013-10-17qemu-thread: add QemuEventPaolo Bonzini2-0/+142
2013-10-17compatfd: switch to QemuThreadJan Kiszka1-13/+3
2013-10-11blockdev: Separate ID generation from DriveInfo creationKevin Wolf1-0/+6
2013-10-09Merge remote-tracking branch 'mjt/trivial-patches' into stagingAnthony Liguori1-2/+2
2013-10-05util/path: Fix type which is longer than 8 bit for MinGWStefan Weil1-2/+2
2013-10-02util: call socket_set_fast_reuse instead of setting SO_REUSEADDRSebastian Ottlik1-3/+3
2013-10-02util: add socket_set_fast_reuse function which will replace setting SO_REUSEADDRSebastian Ottlik2-0/+22
2013-09-23Merge remote-tracking branch 'stefanha/block' into stagingAnthony Liguori1-0/+7
2013-09-20iov: avoid "orig_len may be used unitialized" warningMichael Tokarev1-6/+4
2013-09-18osdep: warn if open(O_DIRECT) on fails with EINVALStefan Hajnoczi1-0/+7
2013-09-12exec: Don't abort when we can't allocate guest memoryMarkus Armbruster2-7/+2
2013-09-11Merge remote-tracking branch 'mdroth/qga-pull-2013-9-9' into stagingAnthony Liguori1-0/+35
2013-09-09error: Add error_set_win32 and error_setg_win32Tomoki Sekiyama1-0/+35
2013-09-06throttle: Add a new throttling API implementing continuous leaky bucket.Benoît Canet2-0/+397
2013-08-30option: Add assigned flag to QEMUOptionParameterMax Reitz1-0/+9
2013-08-12qemu-option: Guard against qemu_opts_set_defaults() misuseMarkus Armbruster1-0/+9
2013-08-06iov: handle EOF in iov_send_recvMORITA Kazutaka1-0/+6
2013-08-05semaphore: fix a hangup problem under load on NetBSD hosts.Izumi Tsutsui1-12/+16
2013-07-29qdev: Add SIZE type to qdev propertiesVasilis Liaskovitis1-2/+2
2013-07-27aes: Remove unused code (NDEBUG, u16)Stefan Weil1-5/+0
2013-07-26QemuOpts: Add qemu_opt_unset()Kevin Wolf1-0/+14
2013-07-10add timestamp to error_report()Seiji Aguchi1-0/+10
2013-07-09qemu-option: Fix qemu_opts_set_defaults() for corner casesMarkus Armbruster1-9/+1
2013-07-09qemu-option: Fix qemu_opts_find() for null id argumentsMarkus Armbruster1-8/+4
2013-06-28qemu-socket: don't leak opts on errorGerd Hoffmann1-1/+1
2013-06-28qemu-socket: catch monitor_get_fd failuresGerd Hoffmann1-1/+1
2013-06-28qemu-socket: drop pointless allocationGerd Hoffmann1-1/+0
2013-06-28qemu-socket: zero-initialize SocketAddressGerd Hoffmann1-2/+2
2013-06-28notify: add NotiferWithReturn so notifier list can abortStefan Hajnoczi1-0/+30
2013-06-21acl: acl_add can't insert before last list element, fixMarkus Armbruster1-2/+2
2013-06-19qemu-option: check_params() is now unused, drop itMarkus Armbruster1-30/+0
2013-06-18qemu-socket: allow hostnames starting with a digitJán Tomko1-9/+4
2013-06-17error: add error_setg_file_open() helperLuiz Capitulino1-0/+5
2013-06-14create qemu_openpty_raw() helper function and move it to a separate fileMichael Tokarev2-1/+136
2013-06-06qemu-io: Move qemu_strsep() to cutils.cKevin Wolf1-0/+21
2013-06-06cutils: Support 'P' and 'E' suffixes in strtosz()Kevin Wolf1-0/+4
2013-05-30osdep: add qemu_get_local_state_pathname()Laszlo Ersek2-0/+31
2013-05-20Rename hexdump to avoid FreeBSD libutil conflictEd Maste2-2/+2
2013-05-14osdep: introduce qemu_anon_ram_free to free qemu_anon_ram_alloc-ed memoryPaolo Bonzini2-0/+16
2013-05-14osdep, kvm: rename low-level RAM allocation functionsPaolo Bonzini2-4/+4
2013-05-12clean unnecessary code: don't check g_strdup arg for NULLDong Xu Wang1-1/+1
2013-05-03qemu: add castagnoli crc32c checksum algorithmJeff Cody2-0/+116
2013-04-29win32: add readv/writev emulationPaolo Bonzini2-1/+44
2013-04-25monitor: introduce query-command-line-optionsAmos Kong1-0/+67
2013-04-24ccid-card-passthru, dev-smartcard-reader: add debug environment variablesAlon Levy1-0/+23
2013-04-24util: move socket_init() to osdep.cMarc-André Lureau2-24/+23
2013-04-17iov: handle partial writes from sendmsg and recvmsgPaolo Bonzini1-47/+55
2013-04-17iov: reorganize iov_send_recv, part 3Paolo Bonzini1-15/+15
2013-04-17iov: reorganize iov_send_recv, part 2Paolo Bonzini1-14/+14
2013-04-17iov: reorganize iov_send_recv, part 1Paolo Bonzini1-7/+13
2013-04-16migration: initialize RAM to zeroPaolo Bonzini1-17/+18
2013-04-15sysemu: avoid proliferation of include/ subdirectoriesPaolo Bonzini1-1/+1
2013-04-13unicode: New mod_utf8_codepoint()Markus Armbruster2-1/+101
2013-04-13aes: make Td[0-5] and Te[0-5] tables non staticAurelien Jarno1-252/+252
2013-04-13aes: move aes.h from include/block to include/qemuAurelien Jarno1-1/+1
2013-04-04Allow clock_gettime() monotonic clock to be utilized on more OS'sBrad Smith1-3/+1
2013-04-02qemu-socket: set passed fd non-blocking in socket_connect()Stefan Hajnoczi1-0/+1
2013-04-02oslib-posix: rename socket_set_nonblock() to qemu_set_nonblock()Stefan Hajnoczi3-6/+6
2013-03-26bitops: unroll while loop in find_next_bit()Peter Lieven1-1/+17
2013-03-26buffer_is_zero: use vector optimizations if possiblePeter Lieven1-0/+5
2013-03-26cutils: add a function to find non-zero content in a bufferPeter Lieven1-0/+55
2013-03-22Merge remote-tracking branch 'kwolf/for-anthony' into stagingAnthony Liguori1-15/+15
2013-03-22nbd: Keep hostname and port separateKevin Wolf1-3/+3
2013-03-22qemu-socket: Make socket_optslist publicKevin Wolf1-12/+12
2013-03-22MinGW: Replace setsockopt by qemu_setsocketoptStefan Weil1-5/+5
2013-03-15iov: Factor out hexdumperPeter Crosthwaite3-25/+49
2013-03-15qemu-option: Add qemu_opts_absorb_qdict()Kevin Wolf1-0/+34
2013-03-13chardev: add udp support to qapiGerd Hoffmann1-0/+25
2013-03-10Merge remote-tracking branch 'bonzini/hw-dirs' into stagingAnthony Liguori3-0/+81
2013-03-10Merge remote-tracking branch 'stefanha/trivial-patches' into stagingAnthony Liguori1-2/+2
2013-03-08char-socket: fix error reportingAnthony Liguori1-0/+4
2013-03-08osdep: replace setsockopt by qemu_setsockoptLei Li1-2/+2
2013-03-05oslib-posix: Align to permit transparent hugepages on ARM LinuxPeter Maydell1-1/+1
2013-03-04move socket_set_nodelay to osdep.cMORITA Kazutaka1-0/+6
2013-03-01hw: move qdev-monitor.o to toplevel directoryPaolo Bonzini1-0/+1
2013-03-01hw: move fifo.[ch] to libqemuutilPaolo Bonzini2-0/+80
2013-02-17host-utils: Improve mulu64 and muls64Richard Henderson1-54/+38