Re: [PATCH v3] kvm-vfio: do not use module_init

2014-09-24 Thread Alex Williamson
On Wed, 2014-09-24 at 14:09 +0200, Paolo Bonzini wrote: > /me got confused between the kernel and QEMU. In the kernel, you can > only have one module_init function, and it will prevent unloading the > module unless you also have the corresponding module_exit function. > > So, commit 80ce1639727e

Re: [PATCH v3] kvm-vfio: do not use module_init

2014-09-24 Thread Will Deacon
On Wed, Sep 24, 2014 at 01:09:28PM +0100, Paolo Bonzini wrote: > /me got confused between the kernel and QEMU. In the kernel, you can > only have one module_init function, and it will prevent unloading the > module unless you also have the corresponding module_exit function. > > So, commit 80ce16

[PATCH v3] kvm-vfio: do not use module_init

2014-09-24 Thread Paolo Bonzini
/me got confused between the kernel and QEMU. In the kernel, you can only have one module_init function, and it will prevent unloading the module unless you also have the corresponding module_exit function. So, commit 80ce1639727e (KVM: VFIO: register kvm_device_ops dynamically, 2014-09-02) broke