Re: [PATCH] KVM: Document mmu

2010-04-23 Thread Avi Kivity
On 04/22/2010 11:16 PM, Marcelo Tosatti wrote: Looks good otherwise. Perhaps add a pointer to Joerg's NPT slides, although they're AMD specific. Fixed all the comments, added a Further reading section and applied. Note that this is still complete (example: large pages); patches

Re: [PATCH] KVM: Document mmu

2010-04-23 Thread Avi Kivity
On 04/23/2010 10:12 AM, Gui Jianfeng wrote: +Guest memory (gpa) is part of user address space of the process that is using +kvm. Userspace defines the translation between guest addresses and user +addresses (gpa-gva); note that two gpas may alias to the same gva, but not Do you mean

Re: [PATCH] KVM: Document mmu

2010-04-22 Thread Karl Vogel
Avi Kivity wrote: +Translation +=== + +The primary job of the mmu is to program the processor's mmu to translate +addresses for the guest. Different translations are required at different +times: + +- when guest paging is disabled, we translate guest physical addresses to + host

Re: [PATCH] KVM: Document mmu

2010-04-22 Thread Avi Kivity
On 04/22/2010 10:13 AM, Karl Vogel wrote: Avi Kivity wrote: +Translation +=== + +The primary job of the mmu is to program the processor's mmu to translate +addresses for the guest. Different translations are required at different +times: + +- when guest paging is disabled, we

Re: [PATCH] KVM: Document mmu

2010-04-22 Thread Marcelo Tosatti
On Wed, Apr 21, 2010 at 04:09:21PM +0300, Avi Kivity wrote: Signed-off-by: Avi Kivity a...@redhat.com --- Documentation/kvm/mmu.txt | 296 + 1 files changed, 296 insertions(+), 0 deletions(-) create mode 100644 Documentation/kvm/mmu.txt diff