]> git.proxmox.com Git - mirror_qemu.git/commit
qemu/queue.h: typedef QTAILQ heads
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 6 Dec 2018 10:56:15 +0000 (11:56 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 11 Jan 2019 14:46:55 +0000 (15:46 +0100)
commitf481ee2d5e3d77c12a4c9a7756b8c2612aad84c6
tree75d7b10ba3de141ccd4dac8459b6a55929772a0d
parentb58deb344ddff3b9d8b265bf73a65274767ee5f4
qemu/queue.h: typedef QTAILQ heads

This will be needed when we change the QTAILQ head and elem structs
to unions.  However, it is also consistent with the usage elsewhere
in QEMU for other list head structs (see for example FsMountList).

Note that most QTAILQs only need their name in order to do backwards
walks.  Those do not break with the struct->union change, and anyway
the change will also remove the need to name heads when doing backwards
walks, so those are not touched here.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
exec.c
hw/vfio/common.c
include/hw/vfio/vfio-common.h
include/qom/cpu.h
ui/input.c