Paolo Bonzini <pbonz...@redhat.com> writes: > On 03/02/20 10:54, Markus Armbruster wrote: >>> Types are documented as above; however types other than link<> and >>> child<>, which are QAPI types, can be user-defined types (structs, >>> enums) and this is not included in (1). >> Specifically, three of four kinds of type names are documented: >> primitive, child, scalar. The fourth kind is not, and it can be >> anything. It need not be a QAPI type name. In any case, you just have >> to know what the type name means. > > It is not enforced, but it is supposed to be only QAPI type names > (primitive or not), child or link.
It's not even documented. Actual names include "struct tm", "guest statistics", and (my favourite) "struct".