]> Git Repo - linux.git/commit
KVM: VFIO: register kvm_device_ops dynamically
authorWill Deacon <[email protected]>
Tue, 2 Sep 2014 09:27:36 +0000 (10:27 +0100)
committerPaolo Bonzini <[email protected]>
Wed, 17 Sep 2014 11:10:10 +0000 (13:10 +0200)
commit80ce1639727e9d38729c34f162378508c307ca25
treec7ffcba90bd9af321c66285174aab7775b7941d9
parent84877d93336de21a6251db00b841468a83c65906
KVM: VFIO: register kvm_device_ops dynamically

Now that we have a dynamic means to register kvm_device_ops, use that
for the VFIO kvm device, instead of relying on the static table.

This is achieved by a module_init call to register the ops with KVM.

Cc: Gleb Natapov <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Acked-by: Alex Williamson <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
include/linux/kvm_host.h
virt/kvm/kvm_main.c
virt/kvm/vfio.c
This page took 0.056268 seconds and 4 git commands to generate.