From: Alexander Graf Date: Mon, 2 Aug 2010 11:38:18 +0000 (+0200) Subject: KVM: PPC: Fix sid map search after flush X-Git-Tag: v2.6.37-rc1~142^2~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c22c31963b4b0c23250e8f520a76427b3986b73b;p=pandora-kernel.git KVM: PPC: Fix sid map search after flush After a flush the sid map contained lots of entries with 0 for their gvsid and hvsid value. Unfortunately, 0 can be a real value the guest searches for when looking up a vsid so it would incorrectly find the host's 0 hvsid mapping which doesn't belong to our sid space. So let's also check for the valid bit that indicated that the sid we're looking at actually contains useful data. Signed-off-by: Alexander Graf --- Reading git-diff-tree failed