Signed-off-by: Avi Kivity <a...@redhat.com>
---
 kvm/user/test/x86/cstart64.S |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/kvm/user/test/x86/cstart64.S b/kvm/user/test/x86/cstart64.S
index a55ad50..54b721f 100644
--- a/kvm/user/test/x86/cstart64.S
+++ b/kvm/user/test/x86/cstart64.S
@@ -148,6 +148,8 @@ ap_start32:
 .code64
 ap_start64:
        call load_tss
+       call enable_apic
+       call enable_x2apic
        sti
        nop
 
@@ -156,7 +158,10 @@ ap_start64:
 
 start64:
        call load_tss
+       call mask_pic_interrupts
+       call enable_apic
        call smp_init
+       call enable_x2apic
        call main
        mov %eax, %edi
        call exit
-- 
1.6.4.1

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to