qemu-e2k/util
Kevin Wolf 9aebf3b892 block: Validate node-name
The device_name of a BlockDriverState is currently checked because it is
always used as a QemuOpts ID and qemu_opts_create() checks whether such
IDs are wellformed.

node-name is supposed to share the same namespace, but it isn't checked
currently. This patch adds explicit checks both for device_name and
node-name so that the same rules will still apply even if QemuOpts won't
be used any more at some point.

qemu-img used to use names with spaces in them, which isn't allowed any
more. Replace them with underscores.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-09-25 15:24:32 +02:00
..
acl.c
aes.c util: Add InvMixColumns 2014-06-16 13:24:33 +02:00
bitmap.c
bitops.c
compatfd.c
crc32c.c
cutils.c
envlist.c
error.c
event_notifier-posix.c
event_notifier-win32.c
fifo8.c
getauxval.c util: Move general qemu_getauxval to util/getauxval.c 2014-09-09 13:13:05 +02:00
hbitmap.c
hexdump.c
host-utils.c util: Don't link host-utils.o if it's empty 2014-09-09 13:13:05 +02:00
iov.c dma-helpers: Fix too long qiov 2014-07-14 12:03:21 +02:00
Makefile.objs util: Don't link host-utils.o if it's empty 2014-09-09 13:13:05 +02:00
module.c module: Don't complain when a module is absent 2014-07-18 14:57:35 +02:00
notify.c
osdep.c
oslib-posix.c block: Introduce qemu_try_blockalign() 2014-08-15 15:07:15 +02:00
oslib-win32.c block: Introduce qemu_try_blockalign() 2014-08-15 15:07:15 +02:00
path.c util/path: Use the GLib memory allocation routines 2014-08-24 13:16:32 +04:00
qemu-config.c qapi: output def_value_str when query command line options 2014-06-16 17:23:20 +08:00
qemu-error.c
qemu-openpty.c
qemu-option.c block: Validate node-name 2014-09-25 15:24:32 +02:00
qemu-progress.c
qemu-sockets.c util/qemu-sockets.c: Support specifying IPv4 or IPv6 in socket_dgram() 2014-09-16 23:36:32 +01:00
qemu-thread-posix.c
qemu-thread-win32.c
qemu-timer-common.c
readline.c readline: Clear screen on form feed. 2014-06-11 10:10:29 -04:00
rfifolock.c
throttle.c
unicode.c
uri.c