mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
8df8a8436f
commit
7376e5827a
6 changed files with 46 additions and 11 deletions
2
exec.c
2
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue