diff options
author | Avi Kivity <avi@redhat.com> | 2012-02-08 21:05:17 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-02-29 13:44:42 +0200 |
commit | 7376e5827a898d8ddf10f929047cc84bf65d9f52 (patch) | |
tree | af5ade26946ff09d19d950d66af6083c6f2f00d2 /exec.c | |
parent | 8df8a8436fa22442a58b366fbb7e471b4a8d88ce (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |