From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: Re: [PATCH 1/2] vmx,svm: Add module parameter to ignore the 'in use' check Date: Tue, 05 Jul 2011 11:14:43 +0300 Message-ID: <1309853683.4117.33.camel@sasha> References: <1309820954-8629-1-git-send-email-levinsasha928@gmail.com> <4E12C6A1.70105@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, Marcelo Tosatti To: Avi Kivity Return-path: Received: from mail-ww0-f44.google.com ([74.125.82.44]:47696 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754552Ab1GEIOt (ORCPT ); Tue, 5 Jul 2011 04:14:49 -0400 Received: by wwe5 with SMTP id 5so5681053wwe.1 for ; Tue, 05 Jul 2011 01:14:48 -0700 (PDT) In-Reply-To: <4E12C6A1.70105@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, 2011-07-05 at 11:09 +0300, Avi Kivity wrote: > On 07/05/2011 02:09 AM, Sasha Levin wrote: > > Add a module parameter 'check_inuse' to allow disabling the check of whether > > virtualization has already been enabled on the given cpu. > > > > This is needed to deal with broken BIOS which set the SVM/VMX bit by default. > > Please split the vmx and svm parts. > > What machine was this? Did you try a BIOS update/complaint to > manufacturer/etc? Let's try the proper channels before workarounds. > I have no information about the machine. It was the result of trying to debug an issue reported on IRC where we found that the SVM flag is being set after boot even before the kvm module is loaded. -- Sasha.