Received: from eggs.gnu.org ([2001:4830:134:3::10]:50002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzHZV-0007mK-2R for qemu-devel@nongnu.org; Tue, 16 Jul 2013 22:34:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzHZT-000247-SX for qemu-devel@nongnu.org; Tue, 16 Jul 2013 22:34:28 -0400 Received: from [222.73.24.84] (port=28683 helo=song.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzHZT-0001tj-GH for qemu-devel@nongnu.org; Tue, 16 Jul 2013 22:34:27 -0400 Date: Wed, 17 Jul 2013 10:32:32 +0800 From: Hu Tao Message-ID: <20130717023232.GA31411@G08FNSTD100614.fnst.cn.fujitsu.com> References: <1373988662-19211-1-git-send-email-pbonzini@redhat.com> <1373988662-19211-3-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 In-Reply-To: <1373988662-19211-3-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Subject: Re: [Qemu-devel] [PATCH 2/3] memory: actually set the owner List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org, stefanha@redhat.com, jan.kiszka@siemens.com 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 > > Signed-off-by: Paolo Bonzini > --- > 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 > > >