qemu-e2k/util
Max Reitz adf5c449e5 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
opt2 = 23

It is possible to specify multiple sections and also multiple sections
of the same type. On the command line, this looks like the following:

inject-error.0.event=reftable_load,\
inject-error.1.event=l2_load,\
set-state.event=l1_update

This would correspond to the following config file:

[inject-error "inject-error.0"]
event = reftable_load

[inject-error "inject-error.1"]
event = l2_load

[set-state]
event = l1_update

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-01-22 12:07:17 +01:00
..
acl.c acl: acl_add can't insert before last list element, fix 2013-06-21 22:52:50 +04:00
aes.c aes: Remove unused code (NDEBUG, u16) 2013-07-27 11:22:53 +04:00
bitmap.c bitmap: use long as index 2014-01-13 14:04:53 +01:00
bitops.c
cache-utils.c util: Use qemu_getauxval in linux qemu_cache_utils_init 2013-11-30 07:45:30 +13:00
compatfd.c compatfd: switch to QemuThread 2013-10-17 17:24:14 +02:00
crc32c.c
cutils.c qemu-io: Move qemu_strsep() to cutils.c 2013-06-06 11:27:04 +02:00
envlist.c
error.c Revert "error: Don't use error_report() for assertion msgs." 2014-01-17 09:50:11 +10:00
event_notifier-posix.c
event_notifier-win32.c
fifo8.c
getauxval.c osdep: Create qemu_getauxval and qemu_init_auxval 2013-11-30 07:45:13 +13:00
hbitmap.c
hexdump.c
host-utils.c
iov.c iov: avoid "orig_len may be used unitialized" warning 2013-09-20 20:09:24 +04:00
Makefile.objs readline: move readline to a generic location 2014-01-22 12:07:17 +01:00
module.c
notify.c notify: add NotiferWithReturn so notifier list can abort 2013-06-28 09:20:26 +02:00
osdep.c osdep: warn if open(O_DIRECT) on fails with EINVAL 2013-09-18 15:34:51 +02:00
oslib-posix.c osdep: add qemu_set_tty_echo() 2014-01-22 12:07:17 +01:00
oslib-win32.c osdep: add qemu_set_tty_echo() 2014-01-22 12:07:17 +01:00
path.c util/path: Fix type which is longer than 8 bit for MinGW 2013-10-05 14:01:47 +04:00
qemu-config.c qemu-option: Add qemu_config_parse_qdict() 2014-01-22 12:07:17 +01:00
qemu-error.c add timestamp to error_report() 2013-07-10 13:42:09 -04:00
qemu-openpty.c create qemu_openpty_raw() helper function and move it to a separate file 2013-06-14 14:28:43 +04:00
qemu-option.c qemu-option: Remove qemu_opts_create_nofail 2014-01-06 15:02:30 -05:00
qemu-progress.c
qemu-sockets.c qemu-option: Remove qemu_opts_create_nofail 2014-01-06 15:02:30 -05:00
qemu-thread-posix.c qemu-thread: add QemuEvent 2013-10-17 17:30:55 +02:00
qemu-thread-win32.c qemu-thread: add QemuEvent 2013-10-17 17:30:55 +02:00
qemu-timer-common.c
readline.c readline: move readline to a generic location 2014-01-22 12:07:17 +01:00
throttle.c throttle: Add a new throttling API implementing continuous leaky bucket. 2013-09-06 15:25:07 +02:00
unicode.c
uri.c