KVM: move complete_insn_gp() into x86.c
authorAndre Przywara <andre.przywara@amd.com>
Tue, 21 Dec 2010 10:12:01 +0000 (11:12 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:30:59 +0000 (11:30 +0200)
commitdb8fcefaa704ccb40b6dcd24e3b75bad3ce7dde3
tree7915835b4ebe513bbb9ad08388db5a45fa0355f0
parenteea1cff9ab732ea56358ff5e1bd8b99db2e8402d
KVM: move complete_insn_gp() into x86.c

move the complete_insn_gp() helper function out of the VMX part
into the generic x86 part to make it usable by SVM.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c