qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Re: [Qemu-devel] qemu-system-sparc uses all host cpu whiletargetsystem is idle
@ 2006-09-20 19:25 Blue Swirl
  2006-09-21  8:00 ` Joerg Platte
  0 siblings, 1 reply; 4+ messages in thread
From: Blue Swirl @ 2006-09-20 19:25 UTC (permalink / raw)
  To: aurelien, fabrice, paul; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 841 bytes --]

>Please find below a patch that "works". It is probably wrong as I wrote it
>by copying code from other architectures and trying until it works. Well
>I am however convinced of two things:
>  - "return EXCP_HALTED;" causes the crash. By removing this line qemu
>    doesn't crash anymore, but the patch does not work as expected
>    (freeze of the target).
>  - The interrupt should be cleared, if not the target freeze.
>
>Now the host CPU is not used at 100% when the Sparc target is idle. I am
>using it for about one our with a Debian unstable, and I am writing this
>mail from this emulated system.

Great work! I can also confirm that it works and CPU is halted correctly.

Please apply.

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/

[-- Attachment #2: slavio_halt.diff.bz2 --]
[-- Type: application/x-bzip, Size: 575 bytes --]

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

end of thread, other threads:[~2006-09-21  9:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-20 19:25 [Qemu-devel] qemu-system-sparc uses all host cpu whiletargetsystem is idle Blue Swirl
2006-09-21  8:00 ` Joerg Platte
2006-09-21  8:53   ` Aurelien Jarno
2006-09-21  9:38     ` Joerg Platte

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).