From: Paolo Bonzini Date: Mon, 15 Jul 2013 13:48:50 +0000 (+0200) Subject: memory: actually set the owner X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b4afea11aafe85975e74dd562bb94f7ce3de1ef1;p=qemu.git memory: actually set the owner Brown paper bag for me. Originally commit 803c0816 came before commit 2c9b15c. When the order was inverted, I left in the NULL initialization of mr->owner. Reviewed-by: Hu Tao Signed-off-by: Paolo Bonzini --- diff --git a/memory.c b/memory.c index c8f9a2bfb3..9938b6ba45 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();