Re: [PATCH 1/24] Move nested option from svm.c to x86.c

2010-06-15 Thread Nadav Har'El
On Mon, Jun 14, 2010, Avi Kivity wrote about Re: [PATCH 1/24] Move nested option from svm.c to x86.c: A global variable names 'nested' is not a good idea. I recommend having a kvm-intel scope module parameter instead, that also avoids the 0/1/2 values. The rationale behind having a nested

Re: [PATCH 1/24] Move nested option from svm.c to x86.c

2010-06-14 Thread Avi Kivity
On 06/13/2010 03:23 PM, Nadav Har'El wrote: The SVM module had a nested option, on by default, which controls whether to allow nested virtualization. Now that VMX also supports nested virtualization, we can move this option to x86.c, for both SVM and VMX. The nested option takes three possible

[PATCH 1/24] Move nested option from svm.c to x86.c

2010-06-13 Thread Nadav Har'El
The SVM module had a nested option, on by default, which controls whether to allow nested virtualization. Now that VMX also supports nested virtualization, we can move this option to x86.c, for both SVM and VMX. The nested option takes three possible values. 0 disables nested virtualization on