]> git.proxmox.com Git - qemu.git/commit - kvm-all.c
memory: switch memory listeners to a QTAILQ
authorAvi Kivity <avi@redhat.com>
Wed, 8 Feb 2012 13:05:50 +0000 (15:05 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 29 Feb 2012 11:44:41 +0000 (13:44 +0200)
commit72e22d2fe17b85e56b4f0c437c61c6e2de97b308
tree73cc81e1fcb9d4c871e1d25c37000f09174c2138
parent946996e9c1b0b7b4a6dc56b253e947ea90d24ec4
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>
hw/vhost.c
kvm-all.c
memory.c
memory.h
xen-all.c