mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-17 02:50:39 +00:00
vfio_pci_dev_set_needs_reset() inspects the open_count of every device in the set to determine whether a reset is allowed. The current device always has open_count == 1 within vfio_pci_core_disable(), effectively disabling the reset logic. This field is also documented as private in vfio_device, so it should not be used to determine whether other devices in the set are open. Checking for vfio_device_set_open_count() > 1 on the device set fixes both issues. After commit |
||
|---|---|---|
| .. | ||
| hisilicon | ||
| mlx5 | ||
| Kconfig | ||
| Makefile | ||
| trace.h | ||
| vfio_pci_config.c | ||
| vfio_pci_core.c | ||
| vfio_pci_igd.c | ||
| vfio_pci_intrs.c | ||
| vfio_pci_priv.h | ||
| vfio_pci_rdwr.c | ||
| vfio_pci_zdev.c | ||
| vfio_pci.c | ||