diff options
author | 2009-09-16 13:13:52 +0300 | |
---|---|---|
committer | 2009-09-22 11:57:12 +0300 | |
commit | 080dab2fe1f1dee9e06a0576aacd1de550c2e7f6 (patch) | |
tree | af0b03e111a4d787f3d9f4cf9905fb8b4a90fa5b /kvm | |
parent | Merge branch 'upstream-merge' (diff) | |
download | qemu-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.c | 1 |
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; } |