]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio/spapr: Enhance error handling in vfio_spapr_create_window()
authorAmit Machhiwal <amachhiw@linux.ibm.com>
Tue, 8 Apr 2025 12:40:41 +0000 (18:10 +0530)
committerCédric Le Goater <clg@redhat.com>
Fri, 25 Apr 2025 07:01:37 +0000 (09:01 +0200)
commit6a7abe1c96bf5fbaa546c710b147f594c9db562e
treed70c105c705a0ee32e8ec3bb5a7097c7535a2be8
parent10c7f1cf2c9d5af28dbc342634eb1f3979a7c379
vfio/spapr: Enhance error handling in vfio_spapr_create_window()

Introduce an Error ** parameter to vfio_spapr_create_window() to enable
structured error reporting. This allows the function to propagate
detailed errors back to callers.

Suggested-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Amit Machhiwal <amachhiw@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250408124042.2695955-2-amachhiw@linux.ibm.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/spapr.c