On Thu, 15 Oct 2015 16:15:31 +0200 Markus Armbruster <arm...@redhat.com> 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 <lcapitul...@redhat.com> Btw, what do you think about this patch? :) diff --git a/MAINTAINERS b/MAINTAINERS index 9bd2b8f..aa03f3d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1010,7 +1010,7 @@ F: qemu-timer.c F: vl.c Human Monitor (HMP) -M: Luiz Capitulino <lcapitul...@redhat.com> +M: Markus Armbruster <arm...@redhat.com> S: Maintained F: monitor.c F: hmp.c @@ -1073,7 +1073,7 @@ F: qapi/*.json T: git git://repo.or.cz/qemu/armbru.git qapi-next QObject -M: Luiz Capitulino <lcapitul...@redhat.com> +M: Markus Armbruster <arm...@redhat.com> S: Maintained F: qobject/ F: include/qapi/qmp/