qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] SMP support
@ 2005-11-22  0:00 Fabrice Bellard
  2005-11-22  4:19 ` Anthony Liguori
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Fabrice Bellard @ 2005-11-22  0:00 UTC (permalink / raw)
  To: qemu-devel

Hi all,

I just commited the code to emulate SMP targets. As an example, I added 
support for x86 PCs with up to 8 CPUs (option -smp).

There are still some optimisations to do regarding the scheduling and I 
only tested the code with a Linux 2.4 guest OS.

Happy testing :-)

Fabrice.

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [Qemu-devel] SMP support
@ 2012-09-25 12:57 Julio Guerra
  0 siblings, 0 replies; 6+ messages in thread
From: Julio Guerra @ 2012-09-25 12:57 UTC (permalink / raw)
  To: qemu-devel, qemu-ppc

I am testing Qemu's SMP support with a very simple program where every
cores execute an infinite loop incrementing a register. The goal is to
stop qemu and compare the register values on each core to evaluate the
simulation of SMP.

> qemu-system-ppc -M mpc8544ds -cpu e500mc -smp 4 -icount 4 -kernel test.elf

Here is a (lightened) log result for two cores from the above test :

> IN:
> 0x2f4:  addi    r1,r1,1
> 0x2f8:  addi    r1,r1,1
> 0x2fc:  ba       0x2f4
>
> TB 236 1014064768345
> GPR01 4d4a5d4
> PIR 1
> NIP 2f4
>
> TB 236 1014064768345
> GPR01 26bfd92
> PIR 2
> NIP 2f4

Having the same time base value, I was expecting to obtain the same R1 values.
Am I missing some options? I would like to be sure before starting
modifying qemu.

-- 
Julio Guerra

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-09-25 12:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-22  0:00 [Qemu-devel] SMP support Fabrice Bellard
2005-11-22  4:19 ` Anthony Liguori
2005-11-22  4:46 ` Mulyadi Santosa
2005-11-22 15:32 ` Joe Batt
2005-11-22 19:23   ` Fabrice Bellard
  -- strict thread matches above, loose matches on Subject: below --
2012-09-25 12:57 Julio Guerra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).