public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* host double faults under KVM?
@ 2007-05-18 14:03 Gregory Haskins
  0 siblings, 0 replies; only message in thread
From: Gregory Haskins @ 2007-05-18 14:03 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-18 14:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-18 14:03 host double faults under KVM? Gregory Haskins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox