]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: split struct kvm into arch specific part
authorSasha Levin <levinsasha928@gmail.com>
Wed, 5 Sep 2012 08:31:37 +0000 (10:31 +0200)
committerPekka Enberg <penberg@kernel.org>
Wed, 5 Sep 2012 13:22:35 +0000 (16:22 +0300)
commitc7f9486376209d3532a8f60f8d944bd3445d7833
tree13fe2e0732574296a2ac7aa724cd53a1ca56c5b7
parentae9ec233a78055ed6bd185d4a7cb24569bc71038
kvm tools: split struct kvm into arch specific part

Move all the non-arch specific members into a generic struct, and the arch specific
members into a arch specific kvm_arch. This prevents code duplication across different
archs.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
13 files changed:
tools/kvm/include/kvm/kvm.h
tools/kvm/powerpc/cpu_info.c
tools/kvm/powerpc/include/kvm/kvm-arch.h
tools/kvm/powerpc/irq.c
tools/kvm/powerpc/kvm-cpu.c
tools/kvm/powerpc/kvm.c
tools/kvm/powerpc/spapr_pci.c
tools/kvm/powerpc/xics.c
tools/kvm/x86/bios.c
tools/kvm/x86/boot.c
tools/kvm/x86/include/kvm/kvm-arch.h
tools/kvm/x86/kvm-cpu.c
tools/kvm/x86/kvm.c