diff options
author | Alexander Graf <agraf@suse.de> | 2010-07-29 16:47:46 +0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-10-24 12:50:45 +0400 |
commit | de7906c36ca1e22a3e3600e95c6a4e2c1e4e2e9c (patch) | |
tree | b7cdfc56e7b9bc66e2a30bda5fb71f975b44de2e /arch/avr32 | |
parent | 5e030186dfc4e4e47c84d2557b17e4aa06c76f96 (diff) | |
download | linux-de7906c36ca1e22a3e3600e95c6a4e2c1e4e2e9c.tar.xz |
KVM: PPC: Convert SRR0 and SRR1 to shared page
The SRR0 and SRR1 registers contain cached values of the PC and MSR
respectively. They get written to by the hypervisor when an interrupt
occurs or directly by the kernel. They are also used to tell the rfi(d)
instruction where to jump to.
Because it only gets touched on defined events that, it's very simple to
share with the guest. Hypervisor and guest both have full r/w access.
This patch converts all users of the current field to the shared page.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/avr32')
0 files changed, 0 insertions, 0 deletions