summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--STATE.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/STATE.md b/STATE.md
index 2621bbd..dc81f80 100644
--- a/STATE.md
+++ b/STATE.md
@@ -31,6 +31,7 @@ against the emulated vGPU, then `nvidia-smi`, then CUDA validation.
| Bug | Root cause | Fix |
|-----|-----------|-----|
+| `available_instances` stuck at 0, mdev create fails `-EUSERS` | mdev core's shared `parent->available_instances` counter leaked on crashed removes | `mdev_driver.get_available` callback computes availability from the driver's own device list (kernel/main.c) |
| Module unload hang (`open_iov_vfio` stuck "Unloading") | Legacy `nv_vgpu_gsp_init()` booting physical GSP firmware, conflicting with host nvidia.ko; unload blocked in `cancel_work_sync` | Skip legacy GSP boot, use `gsp_emu_init()`; thread-stop via completion with 5s timeout; `cancel_work_sync` before `destroy_workqueue` |
| mdev remove kernel panic (`vfio_device_group_unregister+0xa`) | NULL deref on VFIO group unregister | Defensive cleanup ordering in `nv_vgpu_mdev_remove()` |
| mdev creation `EINVAL` (-22) | Double IOMMU group handling conflicted with `vfio_register_emulated_iommu_dev()` | Let VFIO create its own group; IOMMUFD emulated callbacks wired |