mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -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
|
@ -1049,7 +1049,7 @@ int kvm_init(void)
|
|||
}
|
||||
|
||||
kvm_state = s;
|
||||
memory_listener_register(&kvm_memory_listener);
|
||||
memory_listener_register(&kvm_memory_listener, NULL);
|
||||
|
||||
s->many_ioeventfds = kvm_check_many_ioeventfds();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue