commit | c22c31963b4b0c23250e8f520a76427b3986b73b | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Mon Aug 02 13:38:18 2010 +0200 |
committer | Avi Kivity <avi@redhat.com> | Sun Oct 24 10:52:03 2010 +0200 |
tree | 5b928c047d53b3f385e7f9e736c941b00b38be0d | |
parent | 8696ee431233171b3c1cc82bae0193efc4fef2ac [diff] |
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 <agraf@suse.de>