Signed-off-by: Avi Kivity <avi@xxxxxxxxxx> --- kvm/user/test/x86/cstart64.S | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/kvm/user/test/x86/cstart64.S b/kvm/user/test/x86/cstart64.S index 278465b..a55ad50 100644 --- a/kvm/user/test/x86/cstart64.S +++ b/kvm/user/test/x86/cstart64.S @@ -1,6 +1,7 @@ #include "apic-defs.h" +.globl boot_idt boot_idt = 0 ipi_vector = 0x20 @@ -160,7 +161,12 @@ start64: mov %eax, %edi call exit +idt_descr: + .word 16 * 256 - 1 + .quad boot_idt + load_tss: + lidtq idt_descr mov $0, %eax mov %ax, %ss mov $(APIC_DEFAULT_PHYS_BASE + APIC_ID), %eax -- 1.6.4.1 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html