Re: [PATCH 1/2] vmx,svm: Add module parameter to ignore the 'in use' check

2011-07-05 Thread Avi Kivity
On 07/05/2011 02:07 PM, Sasha Levin wrote: > > - was a BIOS update attempted? at least VMware uses the same check as > kvm, and probably virtualbox as well, so this problem should have been > seen before. We didn't update the BIOS. virtualbox was installed previously and didn't work properl

Re: [PATCH 1/2] vmx,svm: Add module parameter to ignore the 'in use' check

2011-07-05 Thread Sasha Levin
On Tue, 2011-07-05 at 13:37 +0300, Avi Kivity wrote: > On 07/05/2011 12:56 PM, Sasha Levin wrote: > > Please note that I don't have access to the hardware in question, this > > was done over IRC. > > > > I understand that. Can you get in contact with the reporter again? > Hopefully, If he comes

Re: [PATCH 1/2] vmx,svm: Add module parameter to ignore the 'in use' check

2011-07-05 Thread Avi Kivity
On 07/05/2011 12:56 PM, Sasha Levin wrote: Please note that I don't have access to the hardware in question, this was done over IRC. I understand that. Can you get in contact with the reporter again? Here are the steps taken in debugging this issue: 1. Looking at the dmesg ( http://pastebi

Re: [PATCH 1/2] vmx,svm: Add module parameter to ignore the 'in use' check

2011-07-05 Thread Sasha Levin
On Tue, 2011-07-05 at 12:37 +0300, Avi Kivity wrote: > On 07/05/2011 12:32 PM, Sasha Levin wrote: > > On Tue, 2011-07-05 at 11:11 +0200, Joerg Roedel wrote: > > > On Tue, Jul 05, 2011 at 11:14:43AM +0300, Sasha Levin wrote: > > > > I have no information about the machine. It was the result of t

Re: [PATCH 1/2] vmx,svm: Add module parameter to ignore the 'in use' check

2011-07-05 Thread Avi Kivity
On 07/05/2011 12:32 PM, Sasha Levin wrote: On Tue, 2011-07-05 at 11:11 +0200, Joerg Roedel wrote: > On Tue, Jul 05, 2011 at 11:14:43AM +0300, Sasha Levin wrote: > > I have no information about the machine. It was the result of trying > > to debug an issue reported on IRC where we found that

Re: [PATCH 1/2] vmx,svm: Add module parameter to ignore the 'in use' check

2011-07-05 Thread Sasha Levin
On Tue, 2011-07-05 at 11:11 +0200, Joerg Roedel wrote: > On Tue, Jul 05, 2011 at 11:14:43AM +0300, Sasha Levin wrote: > > 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 bef

Re: [PATCH 1/2] vmx,svm: Add module parameter to ignore the 'in use' check

2011-07-05 Thread Joerg Roedel
On Tue, Jul 05, 2011 at 11:14:43AM +0300, Sasha Levin wrote: > 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. Have you ruled out that any othe

Re: [PATCH 1/2] vmx,svm: Add module parameter to ignore the 'in use' check

2011-07-05 Thread Sasha Levin
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

Re: [PATCH 1/2] vmx,svm: Add module parameter to ignore the 'in use' check

2011-07-05 Thread Avi Kivity
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. W

[PATCH 1/2] vmx,svm: Add module parameter to ignore the 'in use' check

2011-07-04 Thread Sasha Levin
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. Cc: Avi Kivity Cc: Marcelo Tosatti Suggested-by: Alexander Graf Signed-off-by: Sa