Statistics
| Branch: | Revision:

root / util @ ec45f083

Name Size
Makefile.objs 537 Bytes
acl.c 4.5 kB
aes.c 59.7 kB
bitmap.c 6.3 kB
bitops.c 3.5 kB
cache-utils.c 2.2 kB
compatfd.c 2.8 kB
cutils.c 7.3 kB
envlist.c 5.4 kB
error.c 2 kB
event_notifier-posix.c 2.4 kB
event_notifier-win32.c 1.2 kB
hbitmap.c 12.5 kB
host-utils.c 2.8 kB
iov.c 11.3 kB
module.c 1.4 kB
notify.c 921 Bytes
osdep.c 8.6 kB
oslib-posix.c 5.9 kB
oslib-win32.c 3.9 kB
path.c 4.6 kB
qemu-config.c 5.2 kB
qemu-error.c 4.4 kB
qemu-option.c 28.5 kB
qemu-progress.c 4 kB
qemu-sockets.c 26 kB
qemu-thread-posix.c 6.8 kB
qemu-thread-win32.c 9.1 kB
qemu-timer-common.c 2 kB
uri.c 56.4 kB

Latest revisions

# Date Author Comment
c64f50d1 01/30/2013 12:14 pm Markus Armbruster

g_strdup(NULL) returns NULL; simplify

Signed-off-by: Markus Armbruster <>
Reviewed-by: Eric Blake <>
Signed-off-by: Stefan Hajnoczi <>

503cb22e 01/28/2013 10:46 pm Anthony Liguori

Merge remote-tracking branch 'kwolf/for-anthony' into staging

  1. By Paolo Bonzini (14) and others
  2. Via Kevin Wolf
    • kwolf/for-anthony: (24 commits)
      ide: Add fall through annotations
      block: Create proper size file for disk mirror
      ahci: Add migration support...
0360ccff 01/26/2013 03:18 pm Blue Swirl

bsd-user: avoid conflict with qemu_vmalloc

Rename qemu_vmalloc() to bsd_vmalloc(), adjust the only user.

Remove #ifdeffery in oslib-posix.c.

Tested-by: Andreas Färber <>
Signed-off-by: Blue Swirl <>

1b095244 01/25/2013 07:18 pm Paolo Bonzini

hbitmap: add assertion on hbitmap_iter_init

hbitmap_iter_init causes an out-of-bounds access when the "first"
argument is or greater than or equal to the size of the bitmap.
Forbid this with an assertion, and remove the failing testcase.

Reported-by: Kevin Wolf <>...

e7c033c3 01/25/2013 07:18 pm Paolo Bonzini

add hierarchical bitmap data type and test cases

HBitmaps provides an array of bits. The bits are stored as usual in an
array of unsigned longs, but HBitmap is also optimized to provide fast
iteration over set bits; going from one bit to the next is O(logB n)...

e4ada482 01/19/2013 12:24 pm Stefan Weil

Replace non-portable asprintf by g_strdup_printf

g_strdup_printf already handles OOM errors, so some error handling in
QEMU code can be removed.

Signed-off-by: Stefan Weil <>
Signed-off-by: Blue Swirl <>

c23c15d3 01/16/2013 02:25 am Markus Armbruster

acl: Fix acl_remove not to mess up the ACL

It leaks memory and fails to adjust qemu_acl member nentries. Future
acl_add become confused: can misreport the position, and can silently
fail to add.

Cc:
Signed-off-by: Markus Armbruster <>...

038794cf 01/16/2013 02:25 am Markus Armbruster

acl: Free memory allocated with g_malloc() with g_free()

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

94c8ff3a 01/15/2013 05:46 pm Markus Armbruster

w32: Make qemu_vfree() accept NULL like the POSIX implementation

On POSIX, qemu_vfree() accepts NULL, because it's merely wrapper
around free(). As far as I can tell, the Windows implementation
doesn't. Breeds bugs that bite only under Windows.

Make the Windows implementation behave like the POSIX implementation....

baacf047 01/12/2013 07:42 pm Paolo Bonzini

build: move libqemuutil.a components to util/

Signed-off-by: Paolo Bonzini <>

View revisions

Also available in: Atom