From: Alexander Graf Date: Thu, 16 Feb 2012 15:04:54 +0000 (+0000) Subject: KVM: PPC: bookehv: add comment about shadow_msr X-Git-Tag: next-20120430~23^2~35 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5fd8505ea4b7456d57eacefbf00b669f15f5f0c0;p=karo-tx-linux.git 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 Signed-off-by: Avi Kivity --- 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 { #endif u32 vrsave; /* also USPRG0 */ u32 mmucr; + /* shadow_msr is unused for BookE HV */ ulong shadow_msr; ulong csrr0; ulong csrr1;