On Thu, 2008-12-11 at 17:11 +0800, Liu Yu wrote:
> Kernel for E500 will clear dbsr when startup.
> So add dbsr register in kvm_vcpu_arch.
> 
> Signed-off-by: Liu Yu <yu....@freescale.com>
> ---
>  arch/powerpc/include/asm/kvm_host.h |    1 +
>  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 850c41e..63962fa 100644
> --- a/arch/powerpc/include/asm/kvm_host.h
> +++ b/arch/powerpc/include/asm/kvm_host.h
> @@ -163,6 +163,7 @@ struct kvm_vcpu_arch {
>       u32 ccr1;
>       u32 dbcr0;
>       u32 dbcr1;
> +     u32 dbsr;
> 
>  #ifdef CONFIG_KVM_EXIT_TIMING
>       struct kvmppc_exit_timing timing_exit;

You should definitely add the emulation code for 440 to use dbsr in the
same patch.

-- 
Hollis Blanchard
IBM Linux Technology Center

--
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