On 06/17/2014 03:23 AM, Paolo Bonzini wrote: > Il 13/06/2014 23:47, Eric Blake ha scritto: >>> +## >>> > +# @WatchdogExpirationAction >> I think you will be better off to ensure that error.json is >> self-sufficient, perhaps by sticking any data type it references >> directly into common.json rather than qapi-schema.json, and having >> error.json include common.json. (This is the first instance of >> referencing an external type, but other events later in the series have >> the same issue). >> > > Can be done later though, I think? Yes; as I mentioned in my other mail: https://lists.gnu.org/archive/html/qemu-devel/2014-06/msg03208.html This little exercise raises red flags for me - we probably ought to enhance the code generators to error out instead of blindly act as if unknown types are pointers. But save it for another day - no need to stall this series just to wait for a robustness improvement to the generators. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org