[PATCH 0/2] hw/misc/ivshmem-pci: Improve error handling

David Hamilton posted 2 patches 1 month, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260224190004.84187-1-dahamilt0@gmail.com
There is a newer version of this series
hw/misc/ivshmem-pci.c | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
[PATCH 0/2] hw/misc/ivshmem-pci: Improve error handling
Posted by David Hamilton 1 month, 2 weeks ago
This series addresses two error handling issues in the ivshmem
PCI device:

1. Handle the return value of kvm_irqchip_add_irqfd_notifier_gsi()
   which was being silently ignored.

2. Check for errors from setup_interrupt() in process_msg_connect()
   before continuing to ioeventfd setup. Add ERRP_GUARD() to make
   the errp dereference safe.

David Hamilton (2):
  hw/misc/ivshmem-pci: Handle error from
    kvm_irqchip_add_irqfd_notifier_gsi()
  hw/misc/ivshmem-pci: Check error after setup_interrupt() in
    process_msg_connect()

 hw/misc/ivshmem-pci.c | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

-- 
2.50.1 (Apple Git-155)