[PATCH v4 01/27] VFIO: take reference to the KVM module

Jason Gunthorpe jgg at ziepe.ca
Mon Jul 6 12:53:13 PDT 2026


On Mon, Jul 06, 2026 at 10:52:01AM +0200, Steffen Eiden wrote:
> From: Paolo Bonzini <pbonzini at redhat.com>
> 
> 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.

I thought we weren't doing this approach? Use the struct file as the
kvm handle. I thought I saw patches doing that already?

Jason



More information about the linux-arm-kernel mailing list