From: Joerg Roedel Date: Fri, 10 Sep 2010 15:30:59 +0000 (+0200) Subject: KVM: MMU: Refactor mmu_alloc_roots function X-Git-Tag: v2.6.37-rc1~142^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=651dd37a9ce6fdacdcd75da86619c62111efcbc2;p=pandora-kernel.git KVM: MMU: Refactor mmu_alloc_roots function This patch factors out the direct-mapping paths of the mmu_alloc_roots function into a seperate function. This makes it a lot easier to avoid all the unnecessary checks done in the shadow path which may break when running direct. In fact, this patch already fixes a problem when running PAE guests on a PAE shadow page table. Signed-off-by: Joerg Roedel Signed-off-by: Avi Kivity --- Reading git-diff-tree failed