]> git.proxmox.com Git - mirror_qemu.git/commit - qom/object.c
qom: Add object_class_get_parent()
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 2 May 2012 11:30:54 +0000 (13:30 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 18 Jun 2012 13:14:36 +0000 (15:14 +0200)
commite7cce67f27bce49d8b6d09f4e66059d1fd117ebb
tree3f2326a6d93512115b94138424a162d29130ecd4
parenteb2aeacf983a2a88a2b31e8fee067c38bd10abd3
qom: Add object_class_get_parent()

This simple bit of functionality was missing and we'll need it soon,
so add it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
[AF: Document possible NULL return value]
Signed-off-by: Andreas Färber <afaerber@suse.de>
include/qemu/object.h
qom/object.c