diff options
author | Will Deacon <will.deacon@arm.com> | 2014-09-02 10:27:33 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-09-17 13:10:08 +0200 |
commit | d60eacb07053142bfb9b41582074a89a790a9d46 (patch) | |
tree | de5bddd60b8cf78dbe0c7eabbe4d46ae656713a7 /mm/mprotect.c | |
parent | 184564efae4d775225c8fe3b762a56956fb1f827 (diff) | |
download | op-kernel-dev-d60eacb07053142bfb9b41582074a89a790a9d46.zip op-kernel-dev-d60eacb07053142bfb9b41582074a89a790a9d46.tar.gz |
KVM: device: add simple registration mechanism for kvm_device_ops
kvm_ioctl_create_device currently has knowledge of all the device types
and their associated ops. This is fairly inflexible when adding support
for new in-kernel device emulations, so move what we currently have out
into a table, which can support dynamic registration of ops by new
drivers for virtual hardware.
Cc: Alex Williamson <Alex.Williamson@redhat.com>
Cc: Alex Graf <agraf@suse.de>
Cc: Gleb Natapov <gleb@kernel.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.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>
Diffstat (limited to 'mm/mprotect.c')
0 files changed, 0 insertions, 0 deletions