qapi-introspect: Hide type names
commit1a9a507b2e3e90aa719c96b4c092e7fad7215f21
authorMarkus Armbruster <armbru@redhat.com>
Wed, 16 Sep 2015 11:06:29 +0000 (16 13:06 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 21 Sep 2015 07:56:49 +0000 (21 09:56 +0200)
tree9b6a5f1a5783fb9f151d17b554c3f8117c52e08b
parent39a181581650f4d50f4445bc6276d9716cece050
qapi-introspect: Hide type names

To eliminate the temptation for clients to look up types by name
(which are not ABI), replace all type names by meaningless strings.

Reduces output of query-schema by 13 out of 85KiB.

As a debugging aid, provide option -u to suppress the hiding.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1442401589-24189-27-git-send-email-armbru@redhat.com>
docs/qapi-code-gen.txt
qapi/introspect.json
scripts/qapi-introspect.py