KVM: x86 emulator: constify emulate_ops
authorMathias Krause <minipli@googlemail.com>
Wed, 29 Aug 2012 23:30:16 +0000 (01:30 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 5 Sep 2012 09:41:48 +0000 (12:41 +0300)
commit0225fb509d51fcf777eb0aa31c304c582e3248fd
tree3b6bb0ab01d673efcdd0121c15ced21171a562f1
parentfd0a0d82083747301f6c8084b4141bb490625016
KVM: x86 emulator: constify emulate_ops

We never change emulate_ops[] at runtime so it should be r/o.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c
arch/x86/kvm/x86.c