qmp: Convert QMP code to use object property iterators
commit1b30c094dcb69273b7661897c067906f81e5b967
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 13 Oct 2015 12:37:41 +0000 (13 13:37 +0100)
committerAndreas Färber <afaerber@suse.de>
Wed, 18 Nov 2015 20:13:48 +0000 (18 21:13 +0100)
tree2b0bfad4e56f985eff585b0228ac5aff3a26d680
parenta00c94824126901168bca5b89147f9e334a49e87
qmp: Convert QMP code to use object property iterators

Stop directly accessing the Object::properties field data
structure and instead use the formal object property iterator
APIs. This insulates the code from future data structure
changes in the Object struct.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Tested-by: Pavel Fedin <p.fedin@samsung.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
qmp.c