aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-02-16 10:04:54 -0500
committerAvi Kivity <avi@redhat.com>2012-04-08 05:55:15 -0400
commit5fd8505ea4b7456d57eacefbf00b669f15f5f0c0 (patch)
treef4017b63b122d6f46981bcc78523618da54e20e1 /arch/powerpc/include
parente9ba39c1f3dff93efddacbd4569ada05633e2a9b (diff)
KVM: PPC: bookehv: add comment about shadow_msr
For BookE HV the guest visible MSR is shared->msr and is identical to the MSR that is in use while the guest is running, because we can't trap reads from/to MSR. So shadow_msr is unused there. Indicate that with a comment. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/kvm_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h
index e645623728fc..97ecdaf82956 100644
--- a/arch/powerpc/include/asm/kvm_host.h
+++ b/arch/powerpc/include/asm/kvm_host.h
@@ -386,6 +386,7 @@ struct kvm_vcpu_arch {
386#endif 386#endif
387 u32 vrsave; /* also USPRG0 */ 387 u32 vrsave; /* also USPRG0 */
388 u32 mmucr; 388 u32 mmucr;
389 /* shadow_msr is unused for BookE HV */
389 ulong shadow_msr; 390 ulong shadow_msr;
390 ulong csrr0; 391 ulong csrr0;
391 ulong csrr1; 392 ulong csrr1;