commit | d40a1ee4859c673677c9811ae84475c4051baca5 | [log] [tgz] |
---|---|---|
author | Sheng Yang <sheng.yang@intel.com> | Mon Sep 01 19:41:20 2008 +0800 |
committer | Avi Kivity <avi@qumranet.com> | Wed Oct 15 10:15:25 2008 +0200 |
tree | deedab33a187c41b23db799bd610af0508820cd4 | |
parent | 8c4b537da7eceab1246695df21beea10f180d460 [diff] |
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 <sheng.yang@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>