aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-02-08 21:05:17 +0200
committerAvi Kivity <avi@redhat.com>2012-02-29 13:44:42 +0200
commit7376e5827a898d8ddf10f929047cc84bf65d9f52 (patch)
treeaf5ade26946ff09d19d950d66af6083c6f2f00d2 /exec.c
parent8df8a8436fa22442a58b366fbb7e471b4a8d88ce (diff)
downloadqemu-7376e5827a898d8ddf10f929047cc84bf65d9f52.zip
qemu-7376e5827a898d8ddf10f929047cc84bf65d9f52.tar.gz
qemu-7376e5827a898d8ddf10f929047cc84bf65d9f52.tar.bz2
memory: allow MemoryListeners to observe a specific address space
Ignore any regions not belonging to a specified address space. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index 7fb5d4e..aa54eb1 100644
--- a/exec.c
+++ b/exec.c
@@ -3571,7 +3571,7 @@ static void memory_map_init(void)
memory_region_init(system_io, "io", 65536);
set_system_io_map(system_io);
- memory_listener_register(&core_memory_listener);
+ memory_listener_register(&core_memory_listener, NULL);
}
MemoryRegion *get_system_memory(void)