diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-07-15 15:48:50 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-07-18 06:03:25 +0200 |
commit | b4afea11aafe85975e74dd562bb94f7ce3de1ef1 (patch) | |
tree | 6927174f71a2cbc29ff75a346fc6e30c6b81c783 | |
parent | cb85f7ab045e8c05ee182b3573c9aba8e287e36b (diff) |
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 <hutao@cn.fujitsu.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | memory.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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(); |