diff options
author | Eric Blake <eblake@redhat.com> | 2017-04-27 16:58:16 -0500 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-05-08 20:32:14 +0200 |
commit | a92c21591b5bb9543996538f14854ca6b528318b (patch) | |
tree | 5d005d08f0fa3daff8767dcf8a2ba77a4edcee1d /block/nbd.c | |
parent | de6e7951fe66053dfeaac1a237f7aceb9e079619 (diff) | |
download | qemu-a92c21591b5bb9543996538f14854ca6b528318b.zip |
qobject: Add helper macros for common scalar insertions
Rather than making lots of callers wrap a scalar in a QInt, QString,
or QBool, provide helper macros that do the wrapping automatically.
Update the Coccinelle script to make mass conversions easy, although
the conversion itself will be done as a separate patches to ease
review and backport efforts.
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20170427215821.19397-6-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'block/nbd.c')
0 files changed, 0 insertions, 0 deletions