KVM: x86 emulator: cleanup some direct calls into kvm to use existing callbacks
authorGleb Natapov <gleb@redhat.com>
Wed, 28 Apr 2010 16:15:30 +0000 (19:15 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:31 +0000 (10:35 +0300)
commit79168fd1a307ffee46ee03b7f8711559241738c7
treee8b259d42828d641d11d8b6be95fa8c48aa57e74
parent5951c4423724759906b10a26aa6a8817c4afa615
KVM: x86 emulator: cleanup some direct calls into kvm to use existing callbacks

Use callbacks from x86_emulate_ops to access segments instead of calling
into kvm directly.

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