Re: [PATCH 20/22] KVM: SVM: Initialize Nested Nested MMU context on VMRUN

Avi Kivity
2010-04-27T13:01:45Z

On 04/27/2010 01:38 PM, Joerg Roedel wrote:
> This patch adds code to initialize the Nested Nested Paging
> MMU context when the L1 guest executes a VMRUN instruction
> and has nested paging enabled in its VMCB.
> struct kvm_mmu_page *sp,
> diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
> index e31f601..266b1d4 100644
> --- a/arch/x86/kvm/svm.c
> +++ b/arch/x86/kvm/svm.c
> @@ -94,7 +94,6 @@ struct nested_state {
>
> /* Nested Paging related state */
> u64 nested_cr3;
> -
> };
>

Better not to introduce in the first place (I resisted commenting on it,
but now I broke down).

--
error compiling committee.c: too many arguments to function