qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] arm, mips and mipsel broken
@ 2009-11-10 20:50 Aurelien Jarno
  2009-11-10 21:19 ` Blue Swirl
  2009-11-12 17:34 ` Stefan Weil
  0 siblings, 2 replies; 11+ messages in thread
From: Aurelien Jarno @ 2009-11-10 20:50 UTC (permalink / raw)
  To: qemu-devel

Please note that at least qemu-system-arm, qemu-system-mips and 
qemu-system-mipsel are broken by this commit:

commit c169998802505c244b8bcad562633f29de7d74a4
Author: Glauber Costa <glommer@redhat.com>
Date:   Thu Nov 5 16:05:15 2009 -0200

    v3: don't call reset functions on cpu initialization

    There is absolutely no need to call reset functions when initializing
    devices. Since we are already registering them, calling qemu_system_reset()
    should suffice. Actually, it is what happens when we reboot the machine,
    and using the same process instead of a special case semantics will even
    allow us to find bugs easier.

    Furthermore, the fact that we initialize things like the cpu quite early,
    leads to the need to introduce synchronization stuff like qemu_system_cond.
    This patch removes it entirely. All we need to do is call qemu_system_reset()
    only when we're already sure the system is up and running

    I tested it with qemu (with and without io-thread) and qemu-kvm, and it
    seems to be doing okay - although qemu-kvm uses a slightly different patch.

    [ v2: user mode still needs cpu_reset, so put it in ifdef. ]
    [ v3: leave qemu_system_cond for now. ]

    Signed-off-by: Glauber Costa <glommer@redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

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

end of thread, other threads:[~2009-11-12 17:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-10 20:50 [Qemu-devel] arm, mips and mipsel broken Aurelien Jarno
2009-11-10 21:19 ` Blue Swirl
2009-11-10 21:35   ` Aurelien Jarno
2009-11-11 18:28     ` Paul Brook
2009-11-11 21:02       ` Blue Swirl
2009-11-11 21:59         ` Paul Brook
     [not found]   ` <m3r5s6ndg2.fsf@neno.mitica>
2009-11-11 17:47     ` [Qemu-devel] " Blue Swirl
2009-11-11 18:08       ` Blue Swirl
2009-11-11 18:57   ` [Qemu-devel] " Glauber Costa
2009-11-11 21:00     ` Blue Swirl
2009-11-12 17:34 ` Stefan Weil

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