KVM: PPC: bookehv: add comment about shadow_msr
authorAlexander Graf <agraf@suse.de>
Thu, 16 Feb 2012 15:04:54 +0000 (15:04 +0000)
committerAvi Kivity <avi@redhat.com>
Sun, 8 Apr 2012 09:55:15 +0000 (12:55 +0300)
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>
arch/powerpc/include/asm/kvm_host.h

index e645623..97ecdaf 100644 (file)
@@ -386,6 +386,7 @@ struct kvm_vcpu_arch {
 #endif
        u32 vrsave; /* also USPRG0 */
        u32 mmucr;
+       /* shadow_msr is unused for BookE HV */
        ulong shadow_msr;
        ulong csrr0;
        ulong csrr1;