KVM: x86 emulator: add and use new callbacks set_idt(), set_gdt()
authorAvi Kivity <avi@redhat.com>
Wed, 20 Apr 2011 12:12:00 +0000 (15:12 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 22 May 2011 12:39:08 +0000 (08:39 -0400)
commit1ac9d0cfb07e8ac3b5007d8279c5bd56e124250c
tree3c6b9179039511476353d4e24dd18042104f10a2
parentfe870ab9ce1c3e64c6d6b6ee3fe53d0d029f1044
KVM: x86 emulator: add and use new callbacks set_idt(), set_gdt()

Replacing direct calls to realmode_lgdt(), realmode_lidt().

Signed-off-by: Avi Kivity <avi@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