Statistics
| Branch: | Revision:

root / util @ 5cd8f621

Name Size
Makefile.objs 656 Bytes
acl.c 4.5 kB
aes.c 63.2 kB
bitmap.c 6.3 kB
bitops.c 3.8 kB
cache-utils.c 2.2 kB
compatfd.c 2.8 kB
crc32c.c 4.8 kB
cutils.c 12.4 kB
envlist.c 5.3 kB
error.c 2.9 kB
event_notifier-posix.c 2.4 kB
event_notifier-win32.c 1.2 kB
fifo8.c 1.7 kB
hbitmap.c 12.5 kB
hexdump.c 1002 Bytes
host-utils.c 2.5 kB
iov.c 11.5 kB
module.c 1.4 kB
notify.c 1.6 kB
osdep.c 10.3 kB
oslib-posix.c 6.4 kB
oslib-win32.c 5 kB
path.c 4.6 kB
qemu-config.c 7.2 kB
qemu-error.c 4.6 kB
qemu-openpty.c 3.8 kB
qemu-option.c 29.5 kB
qemu-progress.c 4 kB
qemu-sockets.c 26.1 kB
qemu-thread-posix.c 6.8 kB
qemu-thread-win32.c 9.1 kB
qemu-timer-common.c 1.8 kB
throttle.c 10.3 kB
unicode.c 3.1 kB
uri.c 56.4 kB

Latest revisions

# Date Author Comment
80dfc873 10/09/2013 05:54 pm Anthony Liguori

Merge remote-tracking branch 'mjt/trivial-patches' into staging

  1. By Stefan Weil (5) and others
  2. Via Michael Tokarev
    • mjt/trivial-patches:
      migration: Fix compiler warning ('caps' may be used uninitialized)
      util/path: Fix type which is longer than 8 bit for MinGW...
ddd23638 10/05/2013 01:01 pm Stefan Weil

util/path: Fix type which is longer than 8 bit for MinGW

While dirent->d_type is 8 bit for most systems, it is 32 bit for MinGW.
Reducing it to 8 bit results in a compiler warning because the macro
is_dir_maybe compares that 8 bit value with 32 bit constants....

606600a1 10/02/2013 08:20 pm Sebastian Ottlik

util: add socket_set_fast_reuse function which will replace setting SO_REUSEADDR

If a socket is closed it remains in TIME_WAIT state for some time. On operating
systems using BSD sockets the endpoint of the socket may not be reused while in
this state unless SO_REUSEADDR was set on the socket. On windows on the other...

04fd1c78 10/02/2013 08:20 pm Sebastian Ottlik

util: call socket_set_fast_reuse instead of setting SO_REUSEADDR

SO_REUSEADDR should be avoided on Windows but is desired on other operating
systems. So instead of setting it we call socket_set_fast_reuse that will result
in the appropriate behaviour on all operating systems....

16121fa3 09/23/2013 07:53 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/block' into staging

  1. By Stefan Hajnoczi (4) and others
  2. Via Stefan Hajnoczi
    • stefanha/block:
      virtio-blk: do not relay a previous driver's WCE configuration to the current
      blockdev: do not default cache.no-flush to true...
2be178a4 09/20/2013 07:09 pm Michael Tokarev

iov: avoid "orig_len may be used unitialized" warning

Signed-off-by: Wenchao Xia <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Michael Tokarev <>

a5813077 09/18/2013 04:34 pm Stefan Hajnoczi

osdep: warn if open(O_DIRECT) on fails with EINVAL

Print a warning when opening a file O_DIRECT fails with EINVAL. This
saves users a lot of time trying to figure out the EINVAL error, which
is typical when attempting to open a file O_DIRECT on Linux tmpfs....

39228250 09/12/2013 07:45 pm Markus Armbruster

exec: Don't abort when we can't allocate guest memory

We abort() on memory allocation failure. abort() is appropriate for
programming errors. Maybe most memory allocation failures are
programming errors, maybe not. But guest memory allocation failure
isn't, and aborting when the user asks for more memory than we can...

f69f0bca 09/11/2013 10:46 pm Anthony Liguori

Merge remote-tracking branch 'mdroth/qga-pull-2013-9-9' into staging

  1. By Tomoki Sekiyama (10) and Paul Burton (1)
  2. Via Michael Roth
    • mdroth/qga-pull-2013-9-9:
      QMP/qemu-ga-client: Make timeout longer for guest-fsfreeze-freeze command
      qemu-ga: Install Windows VSS provider on `qemu-ga -s install'...
20840d4c 09/09/2013 10:17 pm Tomoki Sekiyama

error: Add error_set_win32 and error_setg_win32

These functions help maintaining homogeneous formatting of error messages
with Windows error code and description (generated by
g_win32_error_message()).

Signed-off-by: Tomoki Sekiyama <>...

View revisions

Also available in: Atom