KVM: Add architecture-defined TLB flush support
authorMario Smarduch <m.smarduch@samsung.com>
Thu, 15 Jan 2015 23:58:52 +0000 (15:58 -0800)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 16 Jan 2015 13:40:14 +0000 (14:40 +0100)
commita6d5101661c88d642b1fc85657fb0c58da821aa7
tree09c2aa154c076abf729f27818f3787692126ef94
parent924de80db9cab3e2ee53933deee7945e81808151
KVM: Add architecture-defined TLB flush support

Allow architectures to override the generic kvm_flush_remote_tlbs()
function via HAVE_KVM_ARCH_TLB_FLUSH_ALL. ARMv7 will need this to
provide its own TLB flush interface.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Mario Smarduch <m.smarduch@samsung.com>
virt/kvm/Kconfig
virt/kvm/kvm_main.c