qemu-e2k/qapi
Peter Lieven b690d679c1 Revert "qapi: Clean up superfluous null check in qapi_dealloc_type_str()"
This reverts commit 25a7017555.

Turns out the argument *can* be null: QEMU now segfaults if it
receives an invalid parameter via a qmp command instead of throwing an
error.

For example:
{ "execute": "blockdev-add",
     "arguments": { "options" : { "driver": "invalid-driver" } } }

CC: qemu-stable@nongnu.org
Signed-off-by: Peter Lieven <pl@kamp.de>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2014-05-09 09:11:32 -04:00
..
Makefile.objs
opts-visitor.c qapi: treat all negative return of strtosz_suffix() as error 2014-05-08 14:19:58 -04:00
qapi-dealloc-visitor.c Revert "qapi: Clean up superfluous null check in qapi_dealloc_type_str()" 2014-05-09 09:11:32 -04:00
qapi-visit-core.c
qmp-dispatch.c qapi: Clean up fragile use of error_is_set() 2014-05-09 09:11:31 -04:00
qmp-input-visitor.c qerror.h: Remove QERR defines that are only used once 2014-04-25 09:19:59 -04:00
qmp-output-visitor.c
qmp-registry.c
string-input-visitor.c qapi: Add size parser to StringInputVisitor 2014-02-14 21:12:01 +01:00
string-output-visitor.c qapi: Refine human printing of sizes 2014-02-14 21:12:05 +01:00