summaryrefslogtreecommitdiffstats
path: root/kernel/notifier.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-08-08 15:06:55 +0200
committerAvi Kivity <avi@redhat.com>2011-09-25 19:52:21 +0300
commit04fcc11bb5653c421f11f109d8b79ea5eb9fedb4 (patch)
tree6cb53e2890c526bff4b1e53776ce83bce1247038 /kernel/notifier.c
parent317a8fa304f8ba3cd8b67b0f5f38e366e8c3cf1d (diff)
downloadop-kernel-dev-04fcc11bb5653c421f11f109d8b79ea5eb9fedb4.zip
op-kernel-dev-04fcc11bb5653c421f11f109d8b79ea5eb9fedb4.tar.gz
KVM: PPC: Interpret SDR1 as HVA in PAPR mode
When running a PAPR guest, the guest is not allowed to set SDR1 - instead the HTAB information is held in internal hypervisor structures. But all of our current code relies on SDR1 and walking the HTAB like on real hardware. So in order to not be too intrusive, we simply set SDR1 to the HTAB we hold in host memory. That way we can keep the HTAB in user space, but use it from kernel space to map the guest. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'kernel/notifier.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud