On 2/12/25 20:12, Michael Tokarev wrote:
11.02.2025 17:33, Cédric Le Goater wrote:
From: Zhenzhong Duan <zhenzhong.d...@intel.com>
When iommufd_cdev_ram_block_discard_disable() fails for whatever reason,
errp should be set or else SIGSEV is triggered in vfio_realize() when
error_prepend() is called.
By this chance, use the same error message for both legacy and iommufd
backend.
Fixes: 5ee3dc7af785 ("vfio/iommufd: Implement the iommufd backend")
Signed-off-by: Zhenzhong Duan <zhenzhong.d...@intel.com>
Reviewed-by: Eric Auger <eric.au...@redhat.com>
Link: https://lore.kernel.org/r/20250116102307.260849-1-zhenzhong.d...@intel.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>
---
hw/vfio/iommufd.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
This seems to be a qemu-stable material (for 9.2).
Please let me know if it is not.
For 9.0 and above. It applies cleanly.
Thanks,
C.