public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Gregory Haskins" <ghaskins-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
To: <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: host double faults under KVM?
Date: Fri, 18 May 2007 10:03:55 -0400	[thread overview]
Message-ID: <464D79E1.BA47.005A.0@novell.com> (raw)


I thought I would share this with the list:

If you are seeing double fault OOPS on the host while working with KVM, theres a good chance you (or someone else) has tried to sleep while the guest-context is still loaded.  Perhaps this is obvious and/or well known to all of you.  But the occurrence of this fault left me scratching my head for a few hours until I figured this out.  So I thought I would share in the hopes of saving someone else wasted time. :)

Regards,
-Greg

PS: KDB is pretty good at ferreting the offending sleep out, but note that your call stack will be mostly garbled.  Only the last few frames are real, but they usually are enough to lead you to the sleep.  If you backtrack through the code, you will probably find you are in a vcpu_load()/vcpu_put() critical section on way or another.  This is bad ;)

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

                 reply	other threads:[~2007-05-18 14:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=464D79E1.BA47.005A.0@novell.com \
    --to=ghaskins-et1tbqhtxzrqt0dzr+alfa@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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