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:
20cfe88
)
unset RAMBlock idstr when unregister MemoryRegion
author
Hu Tao
<hutao@cn.fujitsu.com>
Wed, 2 Apr 2014 07:13:27 +0000
(15:13 +0800)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 17 Jun 2014 14:07:37 +0000
(16:07 +0200)
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
savevm.c
patch
|
blob
|
history
diff --git
a/savevm.c
b/savevm.c
index
da8aa24
..
7b2c410
100644
(file)
--- a/
savevm.c
+++ b/
savevm.c
@@
-1209,7
+1209,7
@@
void vmstate_register_ram(MemoryRegion *mr, DeviceState *dev)
void vmstate_unregister_ram(MemoryRegion *mr, DeviceState *dev)
{
- /* Nothing do to while the implementation is in RAMBlock */
+ qemu_ram_unset_idstr(memory_region_get_ram_addr(mr) & TARGET_PAGE_MASK);
}
void vmstate_register_ram_global(MemoryRegion *mr)