KVM: x86 emulator: Provide more callbacks for x86 emulator.
authorGleb Natapov <gleb@redhat.com>
Thu, 18 Mar 2010 13:20:16 +0000 (15:20 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:16:14 +0000 (12:16 +0300)
commit2dafc6c234b6064189405f42e1602e9a0abe5a44
tree43ac5a6ead7a4fad9627d500b9e91a69e8ad7e8b
parentaca06a83071e4e4c9150751db7ea6a46240734fc
KVM: x86 emulator: Provide more callbacks for x86 emulator.

Provide get_cached_descriptor(), set_cached_descriptor(),
get_segment_selector(), set_segment_selector(), get_gdt(),
write_std() callbacks.

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/kvm/x86.c