summaryrefslogtreecommitdiff
path: root/kvm-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 /kvm-all.c
parent946996e9c1b0b7b4a6dc56b253e947ea90d24ec4 (diff)
downloadqemu-72e22d2fe17b85e56b4f0c437c61c6e2de97b308.tar.gz
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 'kvm-all.c')
-rw-r--r--kvm-all.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvm-all.c b/kvm-all.c
index 0b87658f6a..6835fd46f8 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -726,6 +726,7 @@ static MemoryListener kvm_memory_listener = {
.log_sync = kvm_log_sync,
.log_global_start = kvm_log_global_start,
.log_global_stop = kvm_log_global_stop,
+ .priority = 10,
};
static void kvm_handle_interrupt(CPUState *env, int mask)