qom: Reduce use of error_propagate()
commitdbc8221f8cf3a3004fb6b4d0675f5852758b0388
authorKevin Wolf <kwolf@redhat.com>
Fri, 8 Oct 2021 13:34:31 +0000 (8 15:34 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 15 Oct 2021 14:06:11 +0000 (15 16:06 +0200)
treeba5c94d3ace0d93a75da5e4faf02c4a2c7a505a6
parentee8a1c63d337a893fa915dd263dfdaa272e1a76a
qom: Reduce use of error_propagate()

ERRP_GUARD() makes debugging easier by making sure that &error_abort
still fails at the real origin of the error instead of
error_propagate().

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20211008133442.141332-5-kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qom/object.c
qom/object_interfaces.c