Paul Mackerras <pau...@samba.org> writes:

> @@ -575,8 +577,6 @@ static int kvmppc_handle_ext(struct kvm_vcpu *vcpu, 
> unsigned int exit_nr,
>       printk(KERN_INFO "Loading up ext 0x%lx\n", msr);
>  #endif
>  
> -     current->thread.regs->msr |= msr;
> -
>       if (msr & MSR_FP) {
>               for (i = 0; i < ARRAY_SIZE(vcpu->arch.fpr); i++)
>                       thread_fpr[get_fpr_index(i)] = vcpu_fpr[i];
> @@ -598,12 +598,32 @@ static int kvmppc_handle_ext(struct kvm_vcpu *vcpu, 
> unsigned int exit_nr,
>  #endif
>       }
>  
> +     current->thread.regs->msr |= msr;
>       vcpu->arch.guest_owned_ext |= msr;
>       kvmppc_recalc_shadow_msr(vcpu);
>  
>       return RESUME_GUEST;
>  }

Any specific reason you are doing the above ?

-aneesh

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to