]> git.proxmox.com Git - mirror_qemu.git/commit
qapi: Use QAPI_LIST_APPEND in trivial cases
authorEric Blake <eblake@redhat.com>
Wed, 13 Jan 2021 22:10:12 +0000 (16:10 -0600)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 28 Jan 2021 07:08:45 +0000 (08:08 +0100)
commitc3033fd372fdaf5b89190136a74b3d78880b85d6
tree6c2464ae3f51b43702c448606acb3a6c21b6b634
parentdc13f40c6ba291e31d09053815c230ed88c8921f
qapi: Use QAPI_LIST_APPEND in trivial cases

The easiest spots to use QAPI_LIST_APPEND are where we already have an
obvious pointer to the tail of a list.  While at it, consistently use
the variable name 'tail' for that purpose.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210113221013.390592-5-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
20 files changed:
backends/hostmem.c
block/dirty-bitmap.c
block/export/export.c
block/qapi.c
block/qcow2-bitmap.c
block/vmdk.c
blockdev.c
crypto/block-luks.c
hw/acpi/cpu.c
hw/acpi/memory_hotplug.c
iothread.c
job-qmp.c
monitor/hmp-cmds.c
qemu-img.c
qga/commands-posix.c
qga/commands-win32.c
scsi/pr-manager.c
target/i386/cpu.c
tests/test-qobject-output-visitor.c
tests/test-string-output-visitor.c