aboutsummaryrefslogtreecommitdiff
path: root/xen-all.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-02-08 15:05:50 +0200
committerAvi Kivity <avi@redhat.com>2012-02-29 13:44:41 +0200
commit72e22d2fe17b85e56b4f0c437c61c6e2de97b308 (patch)
tree73cc81e1fcb9d4c871e1d25c37000f09174c2138 /xen-all.c
parent946996e9c1b0b7b4a6dc56b253e947ea90d24ec4 (diff)
memory: switch memory listeners to a QTAILQ
This allows reverse iteration, which in turns allows consistent ordering among multiple listeners: l1->add l2->add l2->del l1->del Signed-off-by: Avi Kivity <avi@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'xen-all.c')
-rw-r--r--xen-all.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen-all.c b/xen-all.c
index fd3916857c..8cb84efa55 100644
--- a/xen-all.c
+++ b/xen-all.c
@@ -495,6 +495,7 @@ static MemoryListener xen_memory_listener = {
.log_sync = xen_log_sync,
.log_global_start = xen_log_global_start,
.log_global_stop = xen_log_global_stop,
+ .priority = 10,
};
/* VCPU Operations, MMIO, IO ring ... */