]> git.proxmox.com Git - mirror_qemu.git/commit
qom/object: fix iterating properties over a class
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 6 Sep 2018 13:37:36 +0000 (17:37 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 5 Oct 2018 12:14:22 +0000 (16:14 +0400)
commit684546d8e9b5adefa5b499d4371b83f9163593b6
treee162d2b52728168647f537d1ab4bdcbb31247a60
parent9cbef9d68ee1d8d04342e40d1126ab7d27f93554
qom/object: fix iterating properties over a class

object_class_property_iter_init() starts from the given class, so the
next class should continue with the parent class.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
qom/object.c