• S
    KVM: PPC: booke: use shadow_msr · ecee273f
    Scott Wood 提交于
    Keep the guest MSR and the guest-mode true MSR separate, rather than
    modifying the guest MSR on each guest entry to produce a true MSR.
    
    Any bits which should be modified based on guest MSR must be explicitly
    propagated from vcpu->arch.shared->msr to vcpu->arch.shadow_msr in
    kvmppc_set_msr().
    
    While we're modifying the guest entry code, reorder a few instructions
    to bury some load latencies.
    Signed-off-by: NScott Wood <scottwood@freescale.com>
    Signed-off-by: NAlexander Graf <agraf@suse.de>
    ecee273f
kvm_host.h 6.9 KB