Messages in this thread |  | | Date | Thu, 9 Apr 2026 17:00:49 +0200 | | From | Steffen Eiden <> | | Subject | Re: [PATCH 1/3] VFIO: take reference to the KVM module |
| |
On Tue, Apr 07, 2026 at 08:01:05PM +0200, Paolo Bonzini wrote: > VFIO is implicitly taking a reference to the KVM module between > vfio_device_get_kvm_safe and vfio_device_put_kvm, thanks to > symbol_get and symbol_put. > > In preparation for removing symbol_get and symbol_put themselves > from VFIO, actually store a pointer to the KVM module and use > module_get()/module_put() to keep KVM alive. > > Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
|  |