vfio/ccw: Use the 'Error **errp' argument of vfio_ccw_realize()
commit1aeebbd6213af1aef09b4906c487f9079a5d8947
authorCédric Le Goater <clg@redhat.com>
Wed, 22 May 2024 17:01:05 +0000 (22 19:01 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 24 Jun 2024 06:03:34 +0000 (24 08:03 +0200)
tree990c7a21905a44bd927b4ce5f00aecba6d3fde69
parent45f4218784ce20b2c303dd07b1fa3aa6838eca73
vfio/ccw: Use the 'Error **errp' argument of vfio_ccw_realize()

The local error variable is kept for vfio_ccw_register_irq_notifier()
because it is not considered as a failing condition. We will change
how error reporting is done in following changes.

Remove the error_propagate() call.

Cc: Zhenzhong Duan <zhenzhong.duan@intel.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Anthony Krowiak <akrowiak@linux.ibm.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240522170107.289532-6-clg@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/vfio/ccw.c