qapi: Generate FOO_str() macro for QAPI enum FOO
authorMarkus Armbruster <armbru@redhat.com>
Thu, 24 Aug 2017 08:46:07 +0000 (10:46 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 4 Sep 2017 11:09:13 +0000 (13:09 +0200)
commit5b5f825d44306b18509cd10ba9ac6983e90d6e0f
tree4eaa8543ba0c568929b6879ff239b70ddfcef056
parent1c236ba5319d6141964fddb38f1d942cebcaed05
qapi: Generate FOO_str() macro for QAPI enum FOO

The next commit will put it to use.  May look pointless now, but we're
going to change the FOO_lookup's type, and then it'll help.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1503564371-26090-13-git-send-email-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
25 files changed:
block.c
block/blkdebug.c
block/file-posix.c
block/file-win32.c
block/gluster.c
block/parallels.c
block/qcow2.c
block/quorum.c
blockdev.c
crypto/block-luks.c
docs/devel/qapi-code-gen.txt
hmp.c
include/qapi/util.h
migration/global_state.c
migration/migration.c
qapi/qapi-util.c
qapi/qapi-visit-core.c
qemu-img.c
qemu-nbd.c
scripts/qapi-event.py
scripts/qapi-types.py
scripts/qapi.py
tests/test-qapi-util.c
tpm.c
util/keyval.c