Statistics
| Branch: | Revision:

root / util @ e26110cf

Name Size
Makefile.objs 707 Bytes
acl.c 4.5 kB
aes.c 63.2 kB
bitmap.c 6.5 kB
bitops.c 3.8 kB
cache-utils.c 2 kB
compatfd.c 2.6 kB
crc32c.c 4.8 kB
cutils.c 12.4 kB
envlist.c 5.3 kB
error.c 3.5 kB
event_notifier-posix.c 2.4 kB
event_notifier-win32.c 1.2 kB
fifo8.c 2.7 kB
getauxval.c 2.3 kB
hbitmap.c 12.5 kB
hexdump.c 1002 Bytes
host-utils.c 2.5 kB
iov.c 11.5 kB
module.c 4.9 kB
notify.c 1.6 kB
osdep.c 10.3 kB
oslib-posix.c 7.9 kB
oslib-win32.c 6 kB
path.c 4.6 kB
qemu-config.c 12.1 kB
qemu-error.c 4.6 kB
qemu-openpty.c 3.8 kB
qemu-option.c 29.4 kB
qemu-progress.c 4.3 kB
qemu-sockets.c 26.3 kB
qemu-thread-posix.c 9.7 kB
qemu-thread-win32.c 9.5 kB
qemu-timer-common.c 1.8 kB
readline.c 13.4 kB
throttle.c 10.3 kB
unicode.c 3.1 kB
uri.c 56.4 kB

Latest revisions

# Date Author Comment
e26110cf 02/20/2014 02:14 pm Fam Zheng

module: implement module loading

This patch adds loading, stamp checking and initialization of modules.

The init function of dynamic module is no longer directly called as
attribute((constructor)) in static linked version, it is called
only after passed the checking of presense of stamp symbol:...

10f5bff6 02/20/2014 02:12 pm Fam Zheng

util: Split out exec_dir from os_find_datadir

With this change, main() calls qemu_init_exec_dir and uses argv0 to
init exec_dir. The saved value can be retrieved with
qemu_get_exec_dir later. It will be reused by module loading.

Signed-off-by: Fam Zheng <>...

c4e57af8 02/08/2014 04:50 pm Beniamino Galvani

util/fifo8: implement push/pop of multiple bytes

The patch adds functions fifo8_push_all() and fifo8_pop_buf() which
can be used respectively to push the content of a memory buffer to the
fifo and to pop multiple bytes obtaining a pointer to the fifo backing...

58892d47 02/08/2014 04:50 pm Beniamino Galvani

util/fifo8: clear fifo head upon reset

To improve the predictability of fifo8_pop_buf(), the fifo head is set
to the start of data buffer upon a reset so that the first call to the
function will be able to retrieve all data in the fifo.

Signed-off-by: Beniamino Galvani <>...

1165ae61 02/01/2014 11:42 am Stefan Hajnoczi

osdep: drop unused #include "trace.h"

osdep.c does not use trace_*() so we can just drop the include.

Signed-off-by: Stefan Hajnoczi <>
Reviewed-by: Benoit Canet <>
Signed-off-by: Michael Tokarev <>

e5354657 01/24/2014 06:40 pm Kevin Wolf

qemu_memalign: Allow small alignments

The functions used by qemu_memalign() require an alignment that is at
least sizeof(void*). Adjust it if it is too small.

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

e69968d4 01/24/2014 03:33 pm Kevin Wolf

qemu-progress: Drop unused include

Signed-off-by: Kevin Wolf <>
Reviewed-by: Benoit Canet <>

3c4b4e38 01/24/2014 03:33 pm Kevin Wolf

qemu-progress: Fix progress printing on SIGUSR1

Since commit a7aae221 ('Switch SIG_IPI to SIGUSR1'), SIGUSR1 is blocked
during startup, breaking the progress report in tools.

This patch reenables the signal when initialising a progress report.

Signed-off-by: Kevin Wolf <>...

13401ba0 01/22/2014 01:07 pm Stefan Hajnoczi

osdep: add qemu_set_tty_echo()

Using stdin with readline.c requires disabling echo and line buffering.
Add a portable wrapper to set the terminal attributes under Linux and
Windows.

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>

adf5c449 01/22/2014 01:07 pm Max Reitz

qemu-option: Add qemu_config_parse_qdict()

This function basically parses command-line options given as a QDict
replacing a config file.

For instance, the QDict {"section.opt1": 42, "section.opt2": 23}
corresponds to the config file:

[section]
opt1 = 42...

View revisions

Also available in: Atom