KVM: x86 emulator: store x86_emulate_ops in emulation context
authorAvi Kivity <avi@redhat.com>
Thu, 29 Jul 2010 12:11:50 +0000 (15:11 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:21 +0000 (10:50 +0200)
commit9aabc88fc8687ba3a520e2ec459821d05f72474e
tree6e57c011a783af6a8a0e2ca92e3f55eb4d2701ae
parentab85b12b1a7fd125588f9447653a71ec8e1b5024
KVM: x86 emulator: store x86_emulate_ops in emulation context

It doesn't ever change, so we don't need to pass it around everywhere.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c
arch/x86/kvm/x86.c