public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* KVM & VMX root mode
@ 2007-08-31 13:02 Sander van Leeuwen
       [not found] ` <46D81156.8050100-2taLTamkYL2ELgA04lAiVw@public.gmane.org>
  0 siblings, 1 reply; 22+ messages in thread
From: Sander van Leeuwen @ 2007-08-31 13:02 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,

We have had several reports of users saying our product VirtualBox 
crashes their (Linux) host. It turned out that KVM is responsible, because
it leaves the CPU in VMX root mode.

Doing this changes the way the cpu operates: updates to reserved bits in 
control registers cause general protection faults.
We hit such cases on two occasions; clearing the X86_CR4_VMXE bit in CR4 
and turning off paging.

I have added a workaround to detect VMX root mode, simply refuse to run 
and recommend that the user disables KVM.
I would however appreciate if you could fix KVM instead.

-- 
Kind regards / mit freundlichen Gruessen / Met vriendelijke groet
  Sander van Leeuwen

innoTek GmbH
http://www.innotek.de
Germany 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2007-09-04 14:51 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-31 13:02 KVM & VMX root mode Sander van Leeuwen
     [not found] ` <46D81156.8050100-2taLTamkYL2ELgA04lAiVw@public.gmane.org>
2007-09-01 14:25   ` Avi Kivity
     [not found]     ` <46D97669.7050609-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-01 14:33       ` Alexey Eremenko
     [not found]         ` <7fac565a0709010733j2c3f58aav743949a3021a5c30-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-09-01 14:35           ` Avi Kivity
     [not found]             ` <46D9789B.9040001-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-01 14:44               ` Alexey Eremenko
2007-09-01 15:09       ` Sander van Leeuwen
     [not found]         ` <46D980C2.3040501-2taLTamkYL2ELgA04lAiVw@public.gmane.org>
2007-09-01 15:59           ` Avi Kivity
     [not found]             ` <46D98C53.4070604-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-01 17:24               ` Sander van Leeuwen
     [not found]                 ` <46D9A030.1020904-2taLTamkYL2ELgA04lAiVw@public.gmane.org>
2007-09-01 17:46                   ` Alexey Eremenko
2007-09-01 18:42                   ` Avi Kivity
     [not found]                     ` <46D9B297.5070502-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-03  3:14                       ` Daniel P. Berrange
     [not found]                         ` <20070903031403.GA16190-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-09-03  7:29                           ` Sander van Leeuwen
     [not found]                             ` <46DBB7C1.60708-2taLTamkYL2ELgA04lAiVw@public.gmane.org>
2007-09-03  7:44                               ` Avi Kivity
     [not found]                                 ` <46DBBB65.3020406-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-03  8:09                                   ` Sander van Leeuwen
     [not found]                                     ` <46DBC120.3050301-2taLTamkYL2ELgA04lAiVw@public.gmane.org>
2007-09-03 11:34                                       ` Avi Kivity
     [not found]                                         ` <46DBF13B.9080005-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-04  9:51                                           ` Sander van Leeuwen
     [not found]                                             ` <46DD2AA2.8010109-2taLTamkYL2ELgA04lAiVw@public.gmane.org>
2007-09-04 13:55                                               ` Avi Kivity
     [not found]                                                 ` <46DD63B6.6050406-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-04 14:16                                                   ` Sander van Leeuwen
     [not found]                                                     ` <46DD68A3.1060403-2taLTamkYL2ELgA04lAiVw@public.gmane.org>
2007-09-04 14:29                                                       ` Avi Kivity
2007-09-04 14:02                                               ` Anthony Liguori
2007-09-04 14:23                                                 ` Sander van Leeuwen
     [not found]                                                   ` <46DD6A59.9000104-2taLTamkYL2ELgA04lAiVw@public.gmane.org>
2007-09-04 14:51                                                     ` Anthony Liguori

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