From: Jan Kiszka <jan.kiszka@siemens.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
qemu-devel <qemu-devel@nongnu.org>,
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Subject: Re: [Qemu-devel] [PATCH] versatile: Push lsi initialization to the end
Date: Mon, 08 Oct 2012 18:46:18 +0200 [thread overview]
Message-ID: <5073035A.7070800@siemens.com> (raw)
In-Reply-To: <5072FF12.3020201@redhat.com>
On 2012-10-08 18:28, Paolo Bonzini wrote:
> Il 08/10/2012 18:02, Peter Maydell ha scritto:
>>>> It's not (only) about a missing event for the serial frontend, it's also
>>>> about a spurious open event to the monitor. That generates unwanted
>>>> output during startup.
>> Right, so whatever's sending that event needs not to do so until
>> creation of the machine is complete. Sending events randomly
>> halfway through init is a recipe for problems...
>
> So we now have proof that using bottom halves outside the block layer
> was a bad idea. Thanks Jan. :)
>
> If Stefan goes on with the AioContext idea, we can have separate
> AioContexts for qemu_bh_new on one side and for block devices on the
> other, so that qemu_bh_new bottom halves won't fire just because
> something is calling the block layer.
>
> In the meanwhile, qemu_char could use a QEMUTimer expiring in the past
> instead of a bottom half.
Sounds "beautiful", waiting to break when we leave like this and start
playing with the timer subsystem ;). But I guess it's best for now. Let
me have a look...
Jan
--
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2012-10-08 16:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-05 17:30 [Qemu-devel] [PATCH] versatile: Push lsi initialization to the end Jan Kiszka
2012-10-05 17:42 ` Peter Maydell
2012-10-05 18:01 ` Jan Kiszka
2012-10-06 2:13 ` Peter Maydell
2012-10-08 6:52 ` Jan Kiszka
2012-10-08 15:18 ` Paolo Bonzini
2012-10-08 15:28 ` Jan Kiszka
2012-10-08 16:02 ` Peter Maydell
2012-10-08 16:28 ` Paolo Bonzini
2012-10-08 16:46 ` Jan Kiszka [this message]
2012-10-08 17:07 ` Aurelien Jarno
2012-10-08 17:09 ` Jan Kiszka
2012-10-08 16:33 ` Peter Maydell
2012-10-08 16:39 ` Paolo Bonzini
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=5073035A.7070800@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@linux.vnet.ibm.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.