KVM: x86 emulator: handle shadowed registers outside emulator
authorGleb Natapov <gleb@redhat.com>
Wed, 28 Apr 2010 16:15:42 +0000 (19:15 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:36 +0000 (10:35 +0300)
commit4d2179e1e9cb74b25a8181a506600d96e15504fb
tree142bb9f234bf52d5b021cb6248049e7ee2d12cff
parentbdb475a323858101f4a5ad6a1a04b1dd8885325a
KVM: x86 emulator: handle shadowed registers outside emulator

Emulator shouldn't access vcpu directly.

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