KVM: Rename and add argument to check_extension
authorAlexander Graf <agraf@suse.de>
Mon, 14 Jul 2014 16:27:35 +0000 (18:27 +0200)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:19:05 +0000 (17:19 +0200)
commit7b6de249336851f2fb8515b2f428bc9e56a8dbb1
treeec5ddb7da82a66d3f59c20a6949a244f6d6711a9
parent2d05a876aea8c40db12b9b721be21773aad6057b
KVM: Rename and add argument to check_extension

In preparation to make the check_extension function available to VM scope
we add a struct kvm * argument to the function header and rename the function
accordingly. It will still be called from the /dev/kvm fd, but with a NULL
argument for struct kvm *.

Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 784aa3d7fb6f729c06d5836c9d9569f58e4d05ae)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/arm.c
arch/ia64/kvm/kvm-ia64.c
arch/powerpc/kvm/powerpc.c
arch/s390/kvm/kvm-s390.c
arch/x86/kvm/x86.c
include/linux/kvm_host.h
virt/kvm/kvm_main.c