aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-02-08 21:10:42 +0200
committerAvi Kivity <avi@redhat.com>2012-02-29 13:44:42 +0200
commit947f562c989d034c6a82920e11f4641f1681583d (patch)
tree07a877b06d680b4be1beaa32abb78884496e71f5
parent7376e5827a898d8ddf10f929047cc84bf65d9f52 (diff)
xen: ignore I/O memory regions
Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r--xen-all.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen-all.c b/xen-all.c
index dd52f02573..a58a397ca4 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, NULL);
+ memory_listener_register(&state->memory_listener, get_system_memory());
state->log_for_dirtybit = NULL;
/* Initialize backend core & drivers */