diff options
author | Alexander Graf <agraf@suse.de> | 2011-08-08 16:07:16 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-09-25 19:52:20 +0300 |
commit | 317a8fa304f8ba3cd8b67b0f5f38e366e8c3cf1d (patch) | |
tree | 874c27833a8dbaddce52f5313c7c6af41143369d /arch/powerpc/kvm/book3s_64_mmu.c | |
parent | 9432ba6015371f186926cd62e2395718217a17a1 (diff) |
KVM: PPC: Check privilege level on SPRs
We have 3 privilege levels: problem state, supervisor state and hypervisor
state. Each of them can access different SPRs, so we need to check on every
SPR if it's accessible in the respective mode.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm/book3s_64_mmu.c')
0 files changed, 0 insertions, 0 deletions