qemu/util
Kevin Wolf 376609cc6c qemu-option: Add qemu_opts_absorb_qdict()
This adds a function that adds all entries of a QDict to a QemuOpts if
the keys are known, and leaves only the rest in the QDict.

This way a single QDict of -drive options can be processed in multiple
places (generic block layer, block driver, backing file block driver,
etc.), where each part picks the options it knows. If at the end of the
process the QDict isn't empty, the user specified an invalid option.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-03-15 16:07:49 +01:00
..
acl.c
aes.c
bitmap.c
bitops.c
cache-utils.c
compatfd.c
cutils.c
envlist.c
error.c
event_notifier-posix.c
event_notifier-win32.c
fifo8.c
hbitmap.c
host-utils.c
iov.c
Makefile.objs hw: move fifo.[ch] to libqemuutil 2013-03-01 13:53:10 +01:00
module.c
notify.c
osdep.c osdep: replace setsockopt by qemu_setsockopt 2013-03-08 10:22:14 +01:00
oslib-posix.c
oslib-win32.c
path.c
qemu-config.c
qemu-error.c
qemu-option.c qemu-option: Add qemu_opts_absorb_qdict() 2013-03-15 16:07:49 +01:00
qemu-progress.c
qemu-sockets.c chardev: add udp support to qapi 2013-03-13 10:27:46 +01:00
qemu-thread-posix.c
qemu-thread-win32.c
qemu-timer-common.c
uri.c