commit | a1eda280ccd5fee71a89a94030f96bca5faebe21 | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Wed Mar 24 21:48:34 2010 +0100 |
committer | Avi Kivity <avi@redhat.com> | Mon May 17 12:17:17 2010 +0300 |
tree | b5517e5bd4662fadff15cb874229ae6c01a66359 | |
parent | bd7cdbb7fcd135a399ebb855dc9106747ee2e6ba [diff] |
KVM: PPC: Add check if pte was mapped secondary Some HTAB providers (namely the PS3) ignore the SECONDARY flag. They just put an entry in the htab as secondary when they see fit. So we need to check the return value of htab_insert to remember the correct slot id so we can actually invalidate the entry again. Fixes KVM on the PS3. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>