KVM: x86 emulator: add (set|get)_dr callbacks to x86_emulate_ops
authorGleb Natapov <gleb@redhat.com>
Wed, 28 Apr 2010 16:15:27 +0000 (19:15 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:30 +0000 (10:35 +0300)
commit35aa5375d407ecadcc3adb5cb31d27044bf7f29f
tree62fb6202f9da42f6f987c754838e8c568e11b6e8
parent414e6277fd148f6470261cef50a7fed0d88a2825
KVM: x86 emulator: add (set|get)_dr callbacks to x86_emulate_ops

Add (set|get)_dr callbacks to x86_emulate_ops instead of calling
them directly.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/emulate.c
arch/x86/kvm/x86.c