diff options
| author | Cédric Le Goater <clg@redhat.com> | 2024-05-22 19:01:07 +0200 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2024-06-24 08:03:34 +0200 |
| commit | d48a54042f25d6f1fe442e3a524b1f2b7afd6d8e (patch) | |
| tree | f6f94cc3f9097501a569add78b2c9f53107bfb26 /hw/vfio/ap.c | |
| parent | fa8053841efebab7fcdc76252b953f8dafe7a343 (diff) | |
| download | focaccia-qemu-d48a54042f25d6f1fe442e3a524b1f2b7afd6d8e.tar.gz focaccia-qemu-d48a54042f25d6f1fe442e3a524b1f2b7afd6d8e.zip | |
vfio/{ap, ccw}: Use warn_report_err() for IRQ notifier registration errors
vfio_ccw_register_irq_notifier() and vfio_ap_register_irq_notifier() errors are currently reported using error_report_err(). Since they are not considered as failing conditions, using warn_report_err() is more appropriate. 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-8-clg@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/vfio/ap.c')
| -rw-r--r-- | hw/vfio/ap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vfio/ap.c b/hw/vfio/ap.c index c12531a788..0c4354e3e7 100644 --- a/hw/vfio/ap.c +++ b/hw/vfio/ap.c @@ -172,7 +172,7 @@ static void vfio_ap_realize(DeviceState *dev, Error **errp) * Report this error, but do not make it a failing condition. * Lack of this IRQ in the host does not prevent normal operation. */ - error_report_err(err); + warn_report_err(err); } return; |