From 20cfe8810d08c99e3fc37be2a5a3355a3a51d208 Mon Sep 17 00:00:00 2001 From: Hu Tao Date: Wed, 2 Apr 2014 15:13:26 +0800 Subject: exec: introduce qemu_ram_unset_idstr() to unset RAMBlock idstr Signed-off-by: Hu Tao Signed-off-by: Paolo Bonzini --- include/exec/cpu-common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/exec/cpu-common.h') diff --git a/include/exec/cpu-common.h b/include/exec/cpu-common.h index a21b65a..89ec640 100644 --- a/include/exec/cpu-common.h +++ b/include/exec/cpu-common.h @@ -54,6 +54,7 @@ void qemu_ram_remap(ram_addr_t addr, ram_addr_t length); /* This should not be used by devices. */ MemoryRegion *qemu_ram_addr_from_host(void *ptr, ram_addr_t *ram_addr); void qemu_ram_set_idstr(ram_addr_t addr, const char *name, DeviceState *dev); +void qemu_ram_unset_idstr(ram_addr_t addr); void cpu_physical_memory_rw(hwaddr addr, uint8_t *buf, int len, int is_write); -- cgit v1.1