提交 b4afea11 编写于 作者: P Paolo Bonzini

memory: actually set the owner

Brown paper bag for me.  Originally commit 803c0816 came before commit
2c9b15ca.  When the order was inverted, I left in the NULL initialization
of mr->owner.
Reviewed-by: NHu Tao <hutao@cn.fujitsu.com>
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
上级 cb85f7ab
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册