commit | 61db97cc1e7fce4fd16f72b1350e1728797fa26f | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Fri Apr 16 00:11:52 2010 +0200 |
committer | Avi Kivity <avi@redhat.com> | Mon May 17 12:18:45 2010 +0300 |
tree | ceae282bf55a46b8580ec8aad3c7eebe2f9a5f9e | |
parent | 97e492558f423d99c51eb934506b7a3d7c64613b [diff] |
KVM: PPC: Emulate segment fault Book3S_32 doesn't know about segment faults. It only knows about page faults. So in order to know that we didn't map a segment, we need to fake segment faults. We do this by setting invalid segment registers to an invalid VSID and then check for that VSID on normal page faults. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>