From: Paul Mackerras Date: Wed, 21 Nov 2012 23:29:12 +0000 (+0000) Subject: KVM: PPC: Book3S HV: Report correct HPT entry index when reading HPT X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~27^2~5^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05dd85f7933ffbe6d71415e631c95ca615ae1e81;p=pandora-kernel.git KVM: PPC: Book3S HV: Report correct HPT entry index when reading HPT This fixes a bug in the code which allows userspace to read out the contents of the guest's hashed page table (HPT). On the second and subsequent passes through the HPT, when we are reporting only those entries that have changed, we were incorrectly initializing the index field of the header with the index of the first entry we skipped rather than the first changed entry. This fixes it. Signed-off-by: Paul Mackerras Signed-off-by: Alexander Graf --- Reading git-diff-tree failed