qemu-e2k/hw/block
Eric Blake 46f5ac205a qobject: Use simpler QDict/QList scalar insertion macros
We now have macros in place to make it less verbose to add a scalar
to QDict and QList, so use them.

Patch created mechanically via:
  spatch --sp-file scripts/coccinelle/qobject.cocci \
    --macro-file scripts/cocci-macro-file.h --dir . --in-place
then touched up manually to fix a couple of '?:' back to original
spacing, as well as avoiding a long line in monitor.c.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20170427215821.19397-7-eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2017-05-09 09:13:51 +02:00
..
dataplane virtio: Report real progress in VQ aio poll handler 2017-02-17 21:52:30 +02:00
Makefile.objs xen: do not build backends for targets that do not support xen 2017-03-19 11:12:12 +01:00
block.c hw/block: Introduce share-rw qdev property 2017-02-28 20:40:36 +01:00
cdrom.c block: Clean up includes 2016-01-20 13:36:23 +01:00
ecc.c block: Clean up includes 2016-01-20 13:36:23 +01:00
fdc.c fdc: Make errp the last parameter of fdctrl_connect_drives 2017-04-24 09:13:44 +02:00
hd-geometry.c qemu-common: stop including qemu/bswap.h from qemu-common.h 2016-05-19 16:42:28 +02:00
m25p80.c hw/block: Request permissions 2017-02-28 20:40:36 +01:00
nand.c hw/block: Request permissions 2017-02-28 20:40:36 +01:00
nvme.c hw/block: Request permissions 2017-02-28 20:40:36 +01:00
nvme.h util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
onenand.c hw/block: Request permissions 2017-02-28 20:40:36 +01:00
pflash_cfi01.c hw/block: Request permissions 2017-02-28 20:40:36 +01:00
pflash_cfi02.c hw/block: Request permissions 2017-02-28 20:40:36 +01:00
tc58128.c block: Use DIV_ROUND_UP 2016-06-07 18:19:24 +03:00
trace-events trace: move hw/block/dataplane events to correct subdir 2017-01-31 17:11:17 +00:00
virtio-blk.c hw/block: Request permissions 2017-02-28 20:40:36 +01:00
xen_blkif.h xen: import ring.h from xen 2017-04-21 12:41:29 -07:00
xen_disk.c qobject: Use simpler QDict/QList scalar insertion macros 2017-05-09 09:13:51 +02:00