KVM: ARM: vgic: register kvm_device_ops dynamically
authorWill Deacon <will.deacon@arm.com>
Tue, 2 Sep 2014 09:27:34 +0000 (10:27 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 17 Sep 2014 11:10:09 +0000 (13:10 +0200)
commitc06a841bf36340e9e917ce60d11a6425ac85d0bd
treed689e549a63033952c40ee85537b8c8abfea909a
parentd60eacb07053142bfb9b41582074a89a790a9d46
KVM: ARM: vgic: register kvm_device_ops dynamically

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

Cc: Gleb Natapov <gleb@kernel.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/linux/kvm_host.h
virt/kvm/arm/vgic.c
virt/kvm/kvm_main.c