KVM: Sixtieth public release
KVM: MMU: Fix gpa truncation when reading a pte

Since the type of gpa is u64, so extend pte_size to u64.
Otherwise, gpa may be truncated to u32.

Signed-off-by: Feng (Eric) Liu <eric.e.liu@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
1 file changed