diff options
author | Avi Kivity <avi@redhat.com> | 2012-02-08 15:05:50 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-02-29 13:44:41 +0200 |
commit | 72e22d2fe17b85e56b4f0c437c61c6e2de97b308 (patch) | |
tree | 73cc81e1fcb9d4c871e1d25c37000f09174c2138 /kvm-all.c | |
parent | 946996e9c1b0b7b4a6dc56b253e947ea90d24ec4 (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 'kvm-all.c')
-rw-r--r-- | kvm-all.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |