From: Sheng Yang Date: Mon, 1 Sep 2008 11:41:20 +0000 (+0800) Subject: KVM: MMU: Modify kvm_shadow_walk.entry to accept u64 addr X-Git-Tag: v2.6.28-rc1~269^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d40a1ee4859c673677c9811ae84475c4051baca5;p=pandora-kernel.git KVM: MMU: Modify kvm_shadow_walk.entry to accept u64 addr EPT is 4 level by default in 32pae(48 bits), but the addr parameter of kvm_shadow_walk->entry() only accept unsigned long as virtual address, which is 32bit in 32pae. This result in SHADOW_PT_INDEX() overflow when try to fetch level 4 index. Fix it by extend kvm_shadow_walk->entry() to accept 64bit addr in parameter. Signed-off-by: Sheng Yang Signed-off-by: Avi Kivity --- Reading git-diff-tree failed