Vladimir Sementsov-Ogievskiy 167d913f34 qapi/commands: refactor error handling code
Move error_propagate() to if (err) and make "if (err)" block mandatory.
This is to simplify further commit, which will bring trace events
generation for QMP commands.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20220126161130.3240892-3-vsementsov@virtuozzo.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2022-01-27 11:25:09 +01:00
..
2021-10-01 19:04:45 +02:00
2021-11-17 10:17:28 +01:00
2021-11-19 10:16:58 +01:00
2021-11-19 10:16:58 +01:00
2019-08-20 17:26:21 +02:00
2021-09-08 11:09:45 +01:00
2021-11-19 10:16:58 +01:00