Luiz Capitulino <[email protected]> writes: > On Thu, 15 Oct 2015 16:15:31 +0200 > Markus Armbruster <[email protected]> wrote: > >> The qobject_to_FOO() crash on null, which is a trap for the unwary. >> Return null instead, and simplify a few callers. >> >> Throw in a patch to drop QObject_HEAD. >> >> Luiz, I'm happy to take this through my tree, since got a QMP series >> based on it (to be posted shortly). > > Please do. > > Reviewed-by: Luiz Capitulino <[email protected]>
Thanks! > Btw, what do you think about this patch? :) I knew I was playing with fire %-} Right now I'm too swamped with QAPI patches to take on more. Once we flushed that queue, and got QAPI to quiet down a bit, I can take HMP and QObject off you.
