[PATCH 0/2] KVM: minor cleanup and optimizations

Radim Krčmář
2014-08-28T13:13:01Z

The first patch answers a demand for inline arch functions.
(There is a lot of constant functions that could be inlined as well.)

Second patch digs a bit into the history of KVM and removes a useless
argument that seemed suspicious when preparing the first patch.

Radim Krčmář (2):
KVM: static inline empty kvm_arch functions
KVM: remove garbage arg to *hardware_{en,dis}able

arch/arm/include/asm/kvm_host.h | 6 +++++
arch/arm/kvm/arm.c | 21 +----------------
arch/arm64/include/asm/kvm_host.h | 6 +++++
arch/ia64/include/asm/kvm_host.h | 12 ++++++++++
arch/ia64/kvm/kvm-ia64.c | 34 ++--------------------------
arch/mips/include/asm/kvm_host.h | 11 +++++++++
arch/mips/kvm/mips.c | 44 +-----------------------------------
arch/powerpc/include/asm/kvm_host.h | 8 +++++++
arch/powerpc/kvm/powerpc.c | 31 +------------------------
arch/s390/include/asm/kvm_host.h | 14 ++++++++++++
arch/s390/kvm/kvm-s390.c | 45 +------------------------------------
arch/x86/include/asm/kvm_host.h | 4 ++--
arch/x86/kvm/svm.c | 4 ++--
arch/x86/kvm/vmx.c | 4 ++--
arch/x86/kvm/x86.c | 12 +++++-----
include/linux/kvm_host.h | 4 ++--
virt/kvm/kvm_main.c | 4 ++--
17 files changed, 79 insertions(+), 185 deletions(-)

--
2.1.0