aboutsummaryrefslogtreecommitdiff
path: root/kvm
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-09-16 12:26:03 +0300
committerMarcelo Tosatti <mtosatti@redhat.com>2009-09-16 16:00:52 -0300
commit4da665e99aca2e7aa9bf1d6662606e722f7e3611 (patch)
treed112f634596469248974a9872bd81e0eb373d803 /kvm
parenttest: initialize idt on all processors (diff)
downloadqemu-kvm-4da665e99aca2e7aa9bf1d6662606e722f7e3611.tar.gz
qemu-kvm-4da665e99aca2e7aa9bf1d6662606e722f7e3611.tar.bz2
qemu-kvm-4da665e99aca2e7aa9bf1d6662606e722f7e3611.zip
test: initialize apic/x2apic on all processors
Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kvm')
-rw-r--r--kvm/user/test/x86/cstart64.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/kvm/user/test/x86/cstart64.S b/kvm/user/test/x86/cstart64.S
index a55ad5043..54b721fcf 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