Re: [PATCH 11/18] KVM: MMU: Add infrastructure for two-level page walker

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Avi Kivity
Date: Monday, March 8, 2010 - 2:37 am

On 03/03/2010 09:12 PM, Joerg Roedel wrote:

I think placing this here means we will miss a few translations, namely 
when we do a physical access (say, reading PDPTEs or similar).

We need to do this on the level of kvm_read_guest() so we capture 
physical accesses:

kvm_read_guest_virt
   -> walk_addr
      -> kvm_read_guest_tdp
          -> kvm_read_guest_virt
             -> walk_addr
                 -> kvm_read_guest_tdp
                      -> kvm_read_guest

Of course, not all accesses will use kvm_read_guest_tdp; for example 
kvmclock accesses should still go untranslated.

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

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 13/18] KVM: MMU: Introduce Nested MMU context, Joerg Roedel, (Wed Mar 3, 12:12 pm)
[PATCH 18/18] KVM: X86: Add KVM_CAP_SVM_CPUID_FIXED, Joerg Roedel, (Wed Mar 3, 12:12 pm)
Re: [PATCH 11/18] KVM: MMU: Add infrastructure for two-lev ..., Avi Kivity, (Mon Mar 8, 2:37 am)
Re: [PATCH 18/18] KVM: X86: Add KVM_CAP_SVM_CPUID_FIXED, Joerg Roedel, (Wed Mar 10, 7:46 am)