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

From: Paolo Bonzini

Date: Thu Apr 02 2026 - 05:30:06 EST


On 4/2/26 06:20, Steffen Eiden wrote:
@@ -157,6 +158,7 @@ static int kvm_vfio_file_add(struct kvm_device *dev, unsigned int fd)
goto out_fput;
}
+ module = filp->f_op->owner;

This patch is incorrect because filp->f_op->owner is actually the VFIO module.

I'll send a replacement series for the first three patches here.

Paolo