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>
Showing
- arch/x86/include/asm/kvm_emulate.h 2 additions, 0 deletionsarch/x86/include/asm/kvm_emulate.h
- arch/x86/include/asm/kvm_host.h 0 additions, 3 deletionsarch/x86/include/asm/kvm_host.h
- arch/x86/kvm/emulate.c 7 additions, 7 deletionsarch/x86/kvm/emulate.c
- arch/x86/kvm/x86.c 12 additions, 14 deletionsarch/x86/kvm/x86.c
Loading
Please register or sign in to comment