Statistics
| Branch: | Revision:

root / util @ d8ee2591

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.6 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.6 kB
qemu-progress.c 4 kB
qemu-sockets.c 26.1 kB
qemu-thread-posix.c 9.7 kB
qemu-thread-win32.c 9.5 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
c7c4d063 10/17/2013 06:30 pm Paolo Bonzini

qemu-thread: add QemuEvent

This emulates Win32 manual-reset events using futexes or conditional
variables. Typical ways to use them are with multi-producer,
single-consumer data structures, to test for a complex condition whose
elements come from different threads:...

518420df 10/17/2013 06:24 pm Jan Kiszka

compatfd: switch to QemuThread

qemu_thread_create already does signal blocking and detaching for us.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Paolo Bonzini <>

326642bc 10/11/2013 05:50 pm Kevin Wolf

blockdev: Separate ID generation from DriveInfo creation

blockdev-add shouldn't automatically generate IDs, but will keep most of
the DriveInfo creation code.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Max Reitz <>
Reviewed-by: Wenchao Xia <>...

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....

View revisions

Also available in: Atom