mirror of
https://git.proxmox.com/git/qemu
synced 2025-06-14 21:59:32 +00:00
memory: actually set the owner
Brown paper bag for me. Originally commit803c0816
came before commit2c9b15c
. 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>
This commit is contained in:
parent
cb85f7ab04
commit
b4afea11aa
1
memory.c
1
memory.c
@ -805,7 +805,6 @@ void memory_region_init(MemoryRegion *mr,
|
|||||||
mr->owner = owner;
|
mr->owner = owner;
|
||||||
mr->iommu_ops = NULL;
|
mr->iommu_ops = NULL;
|
||||||
mr->parent = NULL;
|
mr->parent = NULL;
|
||||||
mr->owner = NULL;
|
|
||||||
mr->size = int128_make64(size);
|
mr->size = int128_make64(size);
|
||||||
if (size == UINT64_MAX) {
|
if (size == UINT64_MAX) {
|
||||||
mr->size = int128_2_64();
|
mr->size = int128_2_64();
|
||||||
|
Loading…
Reference in New Issue
Block a user