milos-linux/drivers/vfio
Longfang Liu c3cbc276c2 hisi_acc_vfio_pci: fix the queue parameter anomaly issue
When the number of QPs initialized by the device, as read via vft, is zero,
it indicates either an abnormal device configuration or an abnormal read
result.
Returning 0 directly in this case would allow the live migration operation
to complete successfully, leading to incorrect parameter configuration after
migration and preventing the service from recovering normal functionality.
Therefore, in such situations, an error should be returned to roll back the
live migration operation.

Signed-off-by: Longfang Liu <liulongfang@huawei.com>
Link: https://lore.kernel.org/r/20260122020205.2884497-5-liulongfang@huawei.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
2026-01-29 14:11:00 -07:00
..
cdx vfio: Move the remaining drivers to get_region_info_caps 2025-11-12 15:06:41 -07:00
fsl-mc vfio: Move the remaining drivers to get_region_info_caps 2025-11-12 15:06:41 -07:00
mdev vfio/mdev: update outdated comment 2026-01-19 10:06:29 -07:00
pci hisi_acc_vfio_pci: fix the queue parameter anomaly issue 2026-01-29 14:11:00 -07:00
platform vfio/platform: Convert to get_region_info_caps 2025-11-12 15:06:41 -07:00
container.c
debugfs.c vfio: Dump migration features under debugfs 2025-10-06 11:22:48 -06:00
device_cdev.c vfio: Fix ksize arg while copying user struct in vfio_df_ioctl_bind_iommufd() 2025-11-06 14:42:04 -07:00
group.c vfio: convert vfio_group_ioctl_get_device_fd() to FD_ADD() 2025-11-28 12:42:36 +01:00
iommufd.c vfio: Fix unbalanced vfio_df_close call in no-iommu mode 2025-07-11 14:43:37 -06:00
Kconfig
Makefile
vfio.h
vfio_iommu_spapr_tce.c
vfio_iommu_type1.c vfio/type1: handle DMA map/unmap up to the addressable limit 2025-10-28 15:54:41 -06:00
vfio_main.c [v9] vfio/pci: Allow MMIO regions to be exported through dma-buf 2025-11-20 21:20:00 -07:00
virqfd.c