From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPxfE-0003fk-SH for qemu-devel@nongnu.org; Mon, 14 Nov 2011 09:37:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RPxf6-0000Uv-Si for qemu-devel@nongnu.org; Mon, 14 Nov 2011 09:37:36 -0500 Received: from cantor2.suse.de ([195.135.220.15]:40548 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPxf6-0000Uq-Ln for qemu-devel@nongnu.org; Mon, 14 Nov 2011 09:37:28 -0500 Message-ID: <4EC12799.8070205@suse.de> Date: Mon, 14 Nov 2011 15:37:13 +0100 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <4EBB047A.7070104@suse.de> <4EBB9A47.1020405@suse.de> <4EBB9F1A.3020103@suse.de> <5CC0A375-CD95-472E-9688-846DF13D78A1@suse.de> <4EBBB5AE.1050803@suse.de> <4EBE4596.6010009@suse.de> <4EBF844D.1090206@redhat.com> In-Reply-To: <4EBF844D.1090206@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [TestDays] s390x emulation error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Stefan Hajnoczi , Alexander Graf , qemu-devel Developers Am 13.11.2011 09:48, schrieb Paolo Bonzini: > On 11/12/2011 11:08 AM, Andreas F=C3=A4rber wrote: >> I found that the following main-loop change works around it for s390x >> and rl78 but breaks x86_64 SeaBIOS boot. Paolo, any ideas? >> >> diff --git a/main-loop.c b/main-loop.c >> index 60e9748..2ab5023 100644 >> --- a/main-loop.c >> +++ b/main-loop.c >> @@ -460,7 +460,7 @@ int main_loop_wait(int nonblocking) >> } >> >> glib_select_poll(&rfds,&wfds,&xfds, (ret< 0)); >> - qemu_iohandler_poll(&rfds,&wfds,&xfds, ret); >> + qemu_iohandler_poll(&rfds,&wfds,&xfds, (ret< 0)); >> #ifdef CONFIG_SLIRP >> slirp_select_poll(&rfds,&wfds,&xfds, (ret< 0)); >> #endif >=20 > No, this is definitely wrong. :) It will break all iohandlers. Yeah, I noticed that myself in the part you had snipped above. Question is, why are some use cases broken "iff" used right. :) Any suggestions where/how to debug this? Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3=BC= rnberg