Re: [PATCH 15/22] KVM: MMU: Introduce kvm_read_guest_page_x86()

From: Avi Kivity
Date: Tue Apr 27 2010 - 12:09:46 EST


On 04/27/2010 06:40 PM, Joerg Roedel wrote:

Currently its a bit unclear when to use mmu or nested_mmu. With a
pointer it would be unclear to the code reader when to use the pointer
and when to select the mmu_contexts directly.

I think in most cases you'd want full translation, thus the pointer. This should be the default. In specific cases you'd want just the non-nested guest translation.

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/