[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] qapi: easier debugging of introspection file
From: |
Eric Blake |
Subject: |
[Qemu-devel] [PATCH 0/2] qapi: easier debugging of introspection file |
Date: |
Fri, 29 Jun 2018 14:55:42 -0500 |
When inspecting the generated qapi-introspect.c (for debugging,
or to see what QAPI changes are user visible vs. internal only),
the fact that we've intentionally masked names from the QMP client
makes it harder to tie back generated code back to the original
QAPI .json files. We have a -u switch to qapi-gen for temporarily
bypassing the name masking, but that's a rather heavy-handed
tactic just for some temporary debugging. Better is to just make
the generated file include strategic comments.
Eric Blake (2):
qapi: Add comments to aid debugging generated introspection
qapi: Drop qapi-gen --unmask option
scripts/qapi-gen.py | 5 +----
scripts/qapi/introspect.py | 19 ++++++++++---------
2 files changed, 11 insertions(+), 13 deletions(-)
--
2.14.4
- [Qemu-devel] [PATCH 0/2] qapi: easier debugging of introspection file,
Eric Blake <=