[PATCH 3/8] SVM: add module parameter to disable Nested Paging

2008-02-07 Thread Joerg Roedel
To disable the use of the Nested Paging feature even if it is available in hardware this patch adds a module parameter. Nested Paging can be disabled by passing npt=0 to the kvm_amd module. Signed-off-by: Joerg Roedel <[EMAIL PROTECTED]> --- arch/x86/kvm/svm.c |8 1 files changed, 8

Re: [kvm-devel] [PATCH 3/8] SVM: add module parameter to disable Nested Paging

2008-01-26 Thread Avi Kivity
Joerg Roedel wrote: +static char *npt = "on"; + +module_param(npt, charp, S_IRUGO); This would probably be better as an integer. Then we don't have to do nasty things like implicitly cast a literal to a char *. Hmm, I used int for that first but typing npt=off seemed more userfr

Re: [kvm-devel] [PATCH 3/8] SVM: add module parameter to disable Nested Paging

2008-01-25 Thread Joerg Roedel
On Fri, Jan 25, 2008 at 03:35:23PM -0600, Anthony Liguori wrote: > Joerg Roedel wrote: > >To disable the use of the Nested Paging feature even if it is available in > >hardware this patch adds a module parameter. Nested Paging can be disabled by > >passing npt=off to the kvm_amd module. > > > >Sign

Re: [kvm-devel] [PATCH 3/8] SVM: add module parameter to disable Nested Paging

2008-01-25 Thread Anthony Liguori
Joerg Roedel wrote: To disable the use of the Nested Paging feature even if it is available in hardware this patch adds a module parameter. Nested Paging can be disabled by passing npt=off to the kvm_amd module. Signed-off-by: Joerg Roedel <[EMAIL PROTECTED]> --- arch/x86/kvm/svm.c |8 +

[PATCH 3/8] SVM: add module parameter to disable Nested Paging

2008-01-25 Thread Joerg Roedel
To disable the use of the Nested Paging feature even if it is available in hardware this patch adds a module parameter. Nested Paging can be disabled by passing npt=off to the kvm_amd module. Signed-off-by: Joerg Roedel <[EMAIL PROTECTED]> --- arch/x86/kvm/svm.c |8 1 files changed,