Markus Armbruster ee16ce9337 qapi: Clean up fragile use of error_is_set()
Using error_is_set(ERRP) to find out whether a function failed is
either wrong, fragile, or unnecessarily opaque.  It's wrong when ERRP
may be null, because errors go undetected when it is.  It's fragile
when proving ERRP non-null involves a non-local argument.  Else, it's
unnecessarily opaque (see commit 84d18f0).

The error_is_set(errp) in do_qmp_dispatch() is merely fragile, because
the caller never passes a null errp argument.

Make the code more robust and more obviously correct: receive the
error in a local variable, then propagate it through the parameter.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2014-05-09 09:11:31 -04:00
2014-04-23 10:28:14 +02:00
2013-04-18 13:50:53 +02:00
2014-04-25 12:59:57 +02:00
2014-04-28 13:43:17 +01:00
2014-04-28 08:55:31 +04:00
2014-04-25 09:19:58 -04:00
2014-05-02 20:42:02 -07:00
2014-04-30 14:39:58 +02:00
2014-04-28 11:06:35 -07:00
2014-05-08 10:45:54 +02:00
2012-09-07 09:02:44 +03:00
2014-04-28 08:55:31 +04:00
2014-03-12 17:26:32 +01:00
2013-09-05 09:40:31 -05:00
2014-04-30 11:05:00 +02:00
2013-10-11 09:34:56 -07:00
2014-05-07 18:38:39 +01:00
2013-07-23 02:41:31 +02:00
2013-02-21 16:17:31 -06:00
2013-08-12 09:15:12 -05:00
2014-05-07 17:16:03 +01:00
2014-05-08 14:19:58 -04:00
2014-03-13 14:42:24 +01:00
2013-09-03 12:25:55 +02:00
2014-02-21 21:02:23 +01:00
2014-03-13 14:34:16 +00:00
2014-02-25 14:30:28 +01:00
2014-04-18 10:33:36 +04:00
2014-04-22 12:00:20 +02:00
2014-04-22 12:00:20 +02:00
2013-12-04 15:19:00 +01:00
2014-04-28 13:43:17 +01:00
2013-10-11 09:34:56 -07:00
2014-02-17 11:57:23 -05:00
2014-04-17 20:39:32 +01:00
2013-10-11 09:34:56 -07:00
2014-05-07 14:51:21 +01:00
2014-05-07 16:16:43 +00:00
2013-04-08 18:13:10 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
A fork of QEMU-Nyx which is better suited for my bachelors thesis
Readme 154 MiB
Languages
C 90.3%
Dylan 2.5%
Python 2.1%
C++ 2%
Shell 1.7%
Other 1.4%