Re: [PATCH 5/8] kvm/mmu: make direct mapping paths aware of mapping levels

2009-06-23 Thread Joerg Roedel
On Tue, Jun 23, 2009 at 01:47:28PM -0300, Marcelo Tosatti wrote: > On Fri, Jun 19, 2009 at 03:16:26PM +0200, Joerg Roedel wrote: > > @@ -254,7 +254,7 @@ static int is_last_spte(u64 pte, int level) > > { > > if (level == PT_PAGE_TABLE_LEVEL) > > return 1; > > - if (level == PT_DIR

Re: [PATCH 5/8] kvm/mmu: make direct mapping paths aware of mapping levels

2009-06-23 Thread Marcelo Tosatti
On Fri, Jun 19, 2009 at 03:16:26PM +0200, Joerg Roedel wrote: > Signed-off-by: Joerg Roedel > --- > arch/x86/include/asm/kvm_host.h |2 +- > arch/x86/kvm/mmu.c | 60 > ++- > arch/x86/kvm/paging_tmpl.h |6 ++-- > 3 files changed, 38