Re: [Qemu-devel] [PATCH v9 30/37] qapi: Canonicalize missing object to :empty

2016-01-27 Thread Markus Armbruster
Markus Armbruster writes: > Markus Armbruster writes: > >> Eric Blake writes: >> >>> Now that we elide unnecessary visits of empty types, we can >>> start using the special ':empty' type in more places. By using >>> the empty type as the base class of every explicit struct or >>> union, and as

Re: [Qemu-devel] [PATCH v9 30/37] qapi: Canonicalize missing object to :empty

2016-01-26 Thread Markus Armbruster
Markus Armbruster writes: > Eric Blake writes: > >> Now that we elide unnecessary visits of empty types, we can >> start using the special ':empty' type in more places. By using >> the empty type as the base class of every explicit struct or >> union, and as the default data for any command or

Re: [Qemu-devel] [PATCH v9 30/37] qapi: Canonicalize missing object to :empty

2016-01-25 Thread Markus Armbruster
Eric Blake writes: > Now that we elide unnecessary visits of empty types, we can > start using the special ':empty' type in more places. By using > the empty type as the base class of every explicit struct or > union, and as the default data for any command or event, we can > simplify later logi

[Qemu-devel] [PATCH v9 30/37] qapi: Canonicalize missing object to :empty

2016-01-19 Thread Eric Blake
Now that we elide unnecessary visits of empty types, we can start using the special ':empty' type in more places. By using the empty type as the base class of every explicit struct or union, and as the default data for any command or event, we can simplify later logic in qapi-{visit,commands,event