aboutsummaryrefslogtreecommitdiff
path: root/xen-all.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 /xen-all.c
parent8df8a8436fa22442a58b366fbb7e471b4a8d88ce (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 'xen-all.c')
-rw-r--r--xen-all.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen-all.c b/xen-all.c
index e005b63c7e..dd52f02573 100644
--- a/xen-all.c
+++ b/xen-all.c
@@ -989,7 +989,7 @@ int xen_hvm_init(void)
state->memory_listener = xen_memory_listener;
QLIST_INIT(&state->physmap);
- memory_listener_register(&state->memory_listener);
+ memory_listener_register(&state->memory_listener, NULL);
state->log_for_dirtybit = NULL;
/* Initialize backend core & drivers */