projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb85f7a
)
memory: actually set the owner
author
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 15 Jul 2013 13:48:50 +0000
(15:48 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 18 Jul 2013 04:03:25 +0000
(06:03 +0200)
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>
memory.c
patch
|
blob
|
history
diff --git
a/memory.c
b/memory.c
index c8f9a2bfb3dd863f58c10dc0c97d69168e38792a..9938b6ba458e6e3caeb18d64b9fac2c64bc04c34 100644
(file)
--- 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();