summaryrefslogtreecommitdiff
path: root/kvm
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-09-16 13:13:52 +0300
committerAvi Kivity <avi@redhat.com>2009-09-22 11:57:12 +0300
commit080dab2fe1f1dee9e06a0576aacd1de550c2e7f6 (patch)
treeaf0b03e111a4d787f3d9f4cf9905fb8b4a90fa5b /kvm
parentMerge branch 'upstream-merge' (diff)
downloadqemu-kvm-080dab2fe1f1dee9e06a0576aacd1de550c2e7f6.tar.gz
qemu-kvm-080dab2fe1f1dee9e06a0576aacd1de550c2e7f6.tar.bz2
qemu-kvm-080dab2fe1f1dee9e06a0576aacd1de550c2e7f6.zip
test: issue EOI after IPI
Otherwise, we can't take more than one IPI. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'kvm')
-rw-r--r--kvm/user/test/lib/x86/smp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvm/user/test/lib/x86/smp.c b/kvm/user/test/lib/x86/smp.c
index a3a5472dd..25f0cae03 100644
--- a/kvm/user/test/lib/x86/smp.c
+++ b/kvm/user/test/lib/x86/smp.c
@@ -14,6 +14,7 @@ static volatile int ipi_done;
static __attribute__((used)) void ipi()
{
ipi_function(ipi_data);
+ apic_write(APIC_EOI, 0);
ipi_done = 1;
}