Re: [Qemu-devel] [PATCH v6 31/36] qapi: Merge UserDefTwo and UserDefNested in tests

2015-04-28 Thread Markus Armbruster
Eric Blake 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 typ

[Qemu-devel] [PATCH v6 31/36] qapi: Merge UserDefTwo and UserDefNested in tests

2015-04-04 Thread Eric Blake
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