qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Chris Friesen <chris.friesen@windriver.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] strange situation, guest cpu thread spinning at ~100%, but display not yet initialized
Date: Wed, 21 Nov 2018 11:38:16 -0600	[thread overview]
Message-ID: <eedf3d4a-62c2-d1c7-1dbf-ae9cf5e09e11@windriver.com> (raw)
In-Reply-To: <54304edc-9de4-a25a-63d0-96518c5d7956@windriver.com>

On 11/2/2018 2:45 PM, Chris Friesen wrote:
> On 11/2/2018 11:51 AM, Dr. David Alan Gilbert wrote:

>>     so the fix is Fam's 'aio: Do aio_notify_accept only during blocking
>> aio_poll'.  I see you're running the qemu-kvm-ev from centos, if I read
>> the version tea-leaves right, then I think that patch is in the
>> 2.10.0-21.el7_5.7.1 package I can see.
> 
> It looks like we do not have this fix in our code, will definitely be 
> giving it a try.
Well, it appears that this was not the fix.  With the patches applied we 
still saw the problem.

One of my coworkers has been investigating further, and he sent me the 
following information:

"One of the things the BIOS does before initializing the VGA is to start 
the CPUs. More specifically, from CPU-0, it broadcasts a Setup 
InterProcess Interrupt (SIPI) to all the remaining processors so that 
they wake up and are initialized. CPU-0 busy-waits for all the 
Instance’s CPUs to be initialized, and once that happens, it moves on to 
continue booting (which includes initializing the VGA).  In our case, 
one CPU fails to respond to the SIPI causing CPU-0 to keep busy waiting 
for it. I am in the process of adding more instrumentation to qemu so 
that we can know whether the missing CPU did not receive the SIPI or 
what happened."

Chris

      reply	other threads:[~2018-11-21 20:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-01 21:23 [Qemu-devel] strange situation, guest cpu thread spinning at ~100%, but display not yet initialized Chris Friesen
2018-11-02  7:51 ` Alex Bennée
2018-11-02 15:31   ` Chris Friesen
2018-11-02 16:55     ` Alex Bennée
2018-11-02 17:08       ` Chris Friesen
2018-11-02 17:51         ` Dr. David Alan Gilbert
2018-11-02 20:45           ` Chris Friesen
2018-11-21 17:38             ` Chris Friesen [this message]

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=eedf3d4a-62c2-d1c7-1dbf-ae9cf5e09e11@windriver.com \
    --to=chris.friesen@windriver.com \
    --cc=qemu-devel@nongnu.org \
    /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 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).