Re: [PATCH 3/8] kvm/mmu: rename is_largepage_backed to mapping_level

2009-06-23 Thread Marcelo Tosatti
Hi Joerg, On Fri, Jun 19, 2009 at 03:16:24PM +0200, Joerg Roedel wrote: With the new name and the corresponding backend changes this function can now support multiple hugepage sizes. Signed-off-by: Joerg Roedel joerg.roe...@amd.com --- arch/x86/kvm/mmu.c | 100

Re: [PATCH 3/8] kvm/mmu: rename is_largepage_backed to mapping_level

2009-06-23 Thread Joerg Roedel
On Tue, Jun 23, 2009 at 12:59:33PM -0300, Marcelo Tosatti wrote: Hi Joerg, On Fri, Jun 19, 2009 at 03:16:24PM +0200, Joerg Roedel wrote: gfn = unalias_gfn(kvm, gfn); - write_count = slot_largepage_idx(gfn, -gfn_to_memslot_unaliased(kvm, gfn));

[PATCH 3/8] kvm/mmu: rename is_largepage_backed to mapping_level

2009-06-19 Thread Joerg Roedel
With the new name and the corresponding backend changes this function can now support multiple hugepage sizes. Signed-off-by: Joerg Roedel joerg.roe...@amd.com --- arch/x86/kvm/mmu.c | 100 +-- arch/x86/kvm/paging_tmpl.h |4 +- 2 files