]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: Provide callback to get/set control registers in emulator ops.
authorGleb Natapov <gleb@redhat.com>
Thu, 18 Mar 2010 13:20:03 +0000 (15:20 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:15:54 +0000 (12:15 +0300)
commit52a4661737ecc918633f6b05c611a4af4b5eae5a
tree25bf976f23423db921b5edde6854f0dc8391eb1c
parent6ce5a090a9a0ea4266a2cad058c69e2f27201e11
KVM: Provide callback to get/set control registers in emulator ops.

Use this callback instead of directly call kvm function. Also rename
realmode_(set|get)_cr to emulator_(set|get)_cr since function has nothing
to do with real mode.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@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