Re: [Qemu-devel] [PATCH v5 24/28] qapi: Merge UserDefTwo and UserDefNested in tests

2015-03-27 Thread Eric Blake
On 03/27/2015 03:52 AM, Markus Armbruster wrote: > Eric Blake writes: > >> In the testsuite, UserDefTwo and UserDefNested were identical >> types 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 eas

Re: [Qemu-devel] [PATCH v5 24/28] qapi: Merge UserDefTwo and UserDefNested in tests

2015-03-27 Thread Markus Armbruster
Eric Blake writes: > In the testsuite, UserDefTwo and UserDefNested were identical > types 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

[Qemu-devel] [PATCH v5 24/28] qapi: Merge UserDefTwo and UserDefNested in tests

2015-03-24 Thread Eric Blake
In the testsuite, UserDefTwo and UserDefNested were identical types 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; it means that the typ