Eric Blake <ebl...@redhat.com> writes:

> In the testsuite, UserDefTwo and UserDefNested were identical
> structs other than the member names.  Reduce code duplication by
> having just one type, and choose names that also favor reuse.
> This will also make it easier for a later patch to get rid of
> inline nested types in QAPI.  When touching code related to
> allocations, convert g_malloc0(sizeof(Type)) to the more typesafe
> g_new0(Type, 1).
>
> Ensure that 'make check-qapi-schema check-unit' still passes.
>
> Signed-off-by: Eric Blake <ebl...@redhat.com>

Reviewed-by: Markus Armbruster <arm...@redhat.com>

Reply via email to