]> git.baikalelectronics.ru Git - kernel.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)
commit158c0d46e335e7c828e2106212757a17f58a4904
tree25bf976f23423db921b5edde6854f0dc8391eb1c
parentb1c7d43e5b34d032bc47d56a720f6d069ea92ad2
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