From: Alexander Graf Date: Thu, 29 Jul 2010 12:47:46 +0000 (+0200) Subject: KVM: PPC: Convert SRR0 and SRR1 to shared page X-Git-Tag: v2.6.37-rc1~142^2~251 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de7906c36ca1e22a3e3600e95c6a4e2c1e4e2e9c;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed