public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Johannes Bauer <dfnsonfsduifb@gmx.de>
To: Avi Kivity <avi@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: KVM entry failed, hardware error
Date: Thu, 07 Jun 2012 21:54:42 +0200	[thread overview]
Message-ID: <4FD10702.1030709@gmx.de> (raw)
In-Reply-To: <4FD1051B.1010409@gmx.de>

On 07.06.2012 21:46, Johannes Bauer wrote:

> In an infinite loop. Which looks to be as if it is continuously exiting
> after just one iteration (count at leave is 1299). Maybe I'll fiddle
> some more and am able to provide some insight (probably you already know
> what's going on, but it won't hurt I guess).

Followup on that: I've shorted the debug output (so it doesn't get
wrapped in mail and can be more easily read) and I've enumerated all
five possible exists from the loop:

1. intr_window_requested && (kvm_get_rflags(&vmx->vcpu) & X86_EFLAGS_IF)
2. err == EMULATE_DO_MMIO
3. err != EMULATE_DONE
4. signal_pending(current)
5. while loop exit

And added that to the loop. When it hangs, it always exists by #1:

higs: new low cnt 1295, 5 emu insns
higs: new low cnt 1292, 13 emu insns
higs: left count=1293, 100002 emu insns, llc=1292, rsn=5
higs: new low cnt 1291, 135348 emu insns
higs: new low cnt 1245, 135403 emu insns
higs: new low cnt 1228, 183120 emu insns
higs: left count=1291, 200007 emu insns, llc=1228, rsn=5
higs: left count=1299, 300007 emu insns, llc=1228, rsn=1
higs: left count=1299, 400007 emu insns, llc=1228, rsn=1
higs: left count=1299, 500007 emu insns, llc=1228, rsn=1
higs: left count=1299, 600007 emu insns, llc=1228, rsn=1
higs: left count=1299, 700007 emu insns, llc=1228, rsn=1
higs: left count=1299, 800007 emu insns, llc=1228, rsn=1
higs: left count=1299, 900007 emu insns, llc=1228, rsn=1
higs: left count=1299, 1000007 emu insns, llc=1228, rsn=1
higs: left count=1299, 1100007 emu insns, llc=1228, rsn=1
higs: left count=1299, 1200007 emu insns, llc=1228, rsn=1
higs: left count=1299, 1300007 emu insns, llc=1228, rsn=1
higs: left count=1299, 1400007 emu insns, llc=1228, rsn=1
higs: left count=1299, 1500007 emu insns, llc=1228, rsn=1
higs: left count=1299, 1600007 emu insns, llc=1228, rsn=1
higs: left count=1299, 1700007 emu insns, llc=1228, rsn=1
higs: left count=1299, 1800007 emu insns, llc=1228, rsn=1
higs: left count=1299, 1900007 emu insns, llc=1228, rsn=1
higs: left count=1299, 2000007 emu insns, llc=1228, rsn=1
higs: left count=1299, 2100007 emu insns, llc=1228, rsn=1
[...]

If there's any more output I can provide to help you track down the
problem at hand, please let me know.

Best regards,
Joe

  reply	other threads:[~2012-06-07 19:54 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-03 12:18 KVM entry failed, hardware error Johannes Bauer
2012-06-03 12:33 ` Avi Kivity
2012-06-03 13:01   ` Johannes Bauer
2012-06-03 13:43     ` Avi Kivity
2012-06-03 16:25       ` Johannes Bauer
2012-06-04  8:53         ` Gleb Natapov
2012-06-04  8:56           ` Avi Kivity
2012-06-04 18:28           ` Johannes Bauer
2012-06-04 18:32             ` Johannes Bauer
2012-06-05 13:59             ` David Ahern
2012-06-06 18:19               ` Johannes Bauer
2012-06-06 15:53     ` Avi Kivity
2012-06-06 18:07       ` Johannes Bauer
2012-06-07  7:12         ` Avi Kivity
2012-06-07 10:03           ` Johannes Bauer
2012-06-07 10:54             ` Avi Kivity
2012-06-07 14:52               ` Avi Kivity
2012-06-07 15:39                 ` Johannes Bauer
2012-06-07 17:25                   ` Avi Kivity
2012-06-07 19:14                     ` Johannes Bauer
2012-06-10 15:19                       ` Avi Kivity
2012-06-12 10:23                         ` Johannes Bauer
2012-06-12 10:45                           ` Avi Kivity
2012-06-07 19:46                     ` Johannes Bauer
2012-06-07 19:54                       ` Johannes Bauer [this message]
2012-06-03 13:04   ` Johannes Bauer

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=4FD10702.1030709@gmx.de \
    --to=dfnsonfsduifb@gmx.de \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.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