mirror of
https://github.com/mii443/qemu.git
synced 2025-08-23 23:49:36 +00:00
This reverts commit25a7017555
. 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> (cherry picked from commitb690d679c1
) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>