diff options
Diffstat (limited to 'kernel/include/nvidia-vgpu-vfio.h')
| -rw-r--r-- | kernel/include/nvidia-vgpu-vfio.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/include/nvidia-vgpu-vfio.h b/kernel/include/nvidia-vgpu-vfio.h index 961bba2..aed3dc5 100644 --- a/kernel/include/nvidia-vgpu-vfio.h +++ b/kernel/include/nvidia-vgpu-vfio.h @@ -135,6 +135,12 @@ struct nv_vgpu_device { /* VFIO device registration state */ bool vfio_dev_registered; + + /* True when this mdev holds a reference on the physical backend + * session (gsp_phys_backend_start() succeeded in init_work); the + * matching gsp_phys_backend_stop() runs in cleanup_work after the + * emulation thread is stopped. */ + bool phys_backend_ref; }; typedef struct nv_vgpu_device nv_vgpu_device; |
