]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: cleanup emulate_instruction
authorAndre Przywara <andre.przywara@amd.com>
Tue, 21 Dec 2010 10:12:02 +0000 (11:12 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:31:00 +0000 (11:31 +0200)
commit51d8b66199e94284e7725a79eae4a38de4b80d54
tree904e8c206d9d1d52eb673c235c08b7a612cce9b0
parentdb8fcefaa704ccb40b6dcd24e3b75bad3ce7dde3
KVM: cleanup emulate_instruction

emulate_instruction had many callers, but only one used all
parameters. One parameter was unused, another one is now
hidden by a wrapper function (required for a future addition
anyway), so most callers use now a shorter parameter list.

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/mmu.c
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c