Message ID | 55E90CB1.9040907@redhat.com |
---|---|
State | New |
Headers | show |
diff --git i/scripts/qapi-visit.py w/scripts/qapi-visit.py index 6819866..468080e 100644 --- i/scripts/qapi-visit.py +++ w/scripts/qapi-visit.py @@ -284,7 +284,7 @@ void visit_type_%(c_name)s(Visitor *m, %(c_name)s **obj, const char *name, Error switch ((*obj)->%(c_name)s) { ''', c_type=variants.tag_member.type.c_name(), - c_name=c_name(variants.tag_member.name), + c_name=c_name(variants.tag_name or 'kind'), name=tag_key)