When hotplug an memdev that was previously plugged and unplugged, RAMBlock idstr is not cleared and triggers an assert error in qemu_ram_set_idstr(). This series fixes it.
Hu Tao (2): exec: introduce qemu_ram_unset_idstr() to unset RAMBlock idstr unset RAMBlock idstr when unregister MemoryRegion exec.c | 26 +++++++++++++++++++++----- include/exec/cpu-common.h | 1 + savevm.c | 2 +- 3 files changed, 23 insertions(+), 6 deletions(-) -- 1.8.5.2.229.g4448466