qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/3] memory: actually set the owner


From: Hu Tao
Subject: Re: [Qemu-devel] [PATCH 2/3] memory: actually set the owner
Date: Wed, 17 Jul 2013 10:32:32 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Jul 16, 2013 at 05:31:01PM +0200, Paolo Bonzini wrote:
> Brown paper bag for me.  Commit 2c9b15c added a line setting mr->owner,
> but there was already one that initialized it to NULL (added in the
> earlier commit 803c0816).

What I read from log is the reverse, Commit 2c9b15c added a line setting
mr->owner, which was correct, but 803c0816 accidentally set it to NULL later.

Reviewed-by: Hu Tao <address@hidden>

> 
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
>  memory.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/memory.c b/memory.c
> index c8f9a2b..9938b6b 100644
> --- a/memory.c
> +++ b/memory.c
> @@ -805,7 +805,6 @@ void memory_region_init(MemoryRegion *mr,
>      mr->owner = owner;
>      mr->iommu_ops = NULL;
>      mr->parent = NULL;
> -    mr->owner = NULL;
>      mr->size = int128_make64(size);
>      if (size == UINT64_MAX) {
>          mr->size = int128_2_64();
> -- 
> 1.8.1.4
> 
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]