From: Avi Kivity Date: Sun, 21 Dec 2008 17:20:09 +0000 (+0200) Subject: KVM: MMU: Inherit a shadow page's guest level count from vcpu setup X-Git-Tag: v2.6.30-rc1~664^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a770f6f28b1a9287189f3dc8333eb694d9a2f0ab;p=pandora-kernel.git KVM: MMU: Inherit a shadow page's guest level count from vcpu setup Instead of "calculating" it on every shadow page allocation, set it once when switching modes, and copy it when allocating pages. This doesn't buy us much, but sets up the stage for inheriting more information related to the mmu setup. Signed-off-by: Avi Kivity --- Reading git-diff-tree failed