Skip to content

unset RAMBlock idstr when unregistering

Hu Tao qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2exec: introduce qemu_ram_unset_idstr() to unset RAMBlock idstrexec.c include/exec/cpu-common.h+22 -50 replies
2/2unset RAMBlock idstr when unregister MemoryRegionsavevm.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] unset RAMBlock idstr when unregistering

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(-)
Signature · 1 line
1.8.5.2.229.g4448466