|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH] monitor: Add info qom-tree subcommand. |
Date: | Wed, 07 May 2014 13:01:12 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
Il 05/05/2014 20:33, Luiz Capitulino ha scritto:
+ data = object_property_get_qobject(obj, info->name, NULL); + if (!data) { + list = list->next; + continue;
You could use object_property_print and get rid of a relatively large amount of code.
Apart from this, the patch is definitely useful. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |