Re: [Qemu-devel] [PATCH v8 29/35] qapi: Canonicalize missing object to :empty

2016-01-05 Thread Marc-André Lureau
Hi On Mon, Dec 21, 2015 at 6:08 PM, Eric Blake wrote: > 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

[Qemu-devel] [PATCH v8 29/35] qapi: Canonicalize missing object to :empty

2015-12-21 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