All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Stefan Hajnoczi <stefanha@gmail.com>,
	Alexander Graf <agraf@suse.de>,
	qemu-devel Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [TestDays] s390x emulation error
Date: Mon, 14 Nov 2011 15:37:13 +0100	[thread overview]
Message-ID: <4EC12799.8070205@suse.de> (raw)
In-Reply-To: <4EBF844D.1090206@redhat.com>

Am 13.11.2011 09:48, schrieb Paolo Bonzini:
> On 11/12/2011 11:08 AM, Andreas Färber 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
> 
> 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

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

  reply	other threads:[~2011-11-14 14:37 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-09 22:53 [Qemu-devel] [TestDays] s390x emulation error Andreas Färber
2011-11-09 23:17 ` Andreas Färber
2011-11-09 23:20   ` Alexander Graf
2011-11-09 23:18 ` Alexander Graf
2011-11-09 23:20   ` Andreas Färber
2011-11-09 23:21     ` Alexander Graf
2011-11-09 23:23       ` Andreas Färber
2011-11-09 23:26         ` Alexander Graf
2011-11-10  9:32 ` Andreas Färber
2011-11-10  9:53   ` Andreas Färber
2011-11-10 10:32     ` Alexander Graf
2011-11-10 11:29       ` Andreas Färber
2011-11-10 12:36         ` Alexander Graf
2011-11-14 17:29           ` Andreas Färber
2011-11-14 17:36             ` Alexander Graf
2011-11-14 17:39               ` Paolo Bonzini
2011-11-12 10:08         ` Andreas Färber
2011-11-12 10:40           ` Stefan Weil
2011-11-12 12:50             ` Alexander Graf
2011-11-13  8:48           ` Paolo Bonzini
2011-11-14 14:37             ` Andreas Färber [this message]
2011-11-18 15:16           ` Andreas Färber
2011-11-10 10:31   ` Alexander Graf
2011-11-18 15:33   ` Alexander Graf
2011-11-21 18:39     ` Andreas Färber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EC12799.8070205@suse.de \
    --to=afaerber@suse.de \
    --cc=agraf@suse.de \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.