object: qom module support
commit0f8198f1b2f3c33df2381c412ad8d8fd219b90b2
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 24 Jun 2020 13:10:37 +0000 (24 15:10 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 7 Jul 2020 12:54:29 +0000 (7 14:54 +0200)
tree6a666f75e1c92b524ef3c1a1d5e00ded8b0bdbc0
parent28457744c345ca4ccb58c984c9552e9c5955a9de
object: qom module support

Little helper function to load modules on demand.  In most cases adding
module loading support for devices and other objects is just
s/object_class_by_name/module_object_class_by_name/ in the right spot.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200624131045.14512-3-kraxel@redhat.com
include/qom/object.h
qom/object.c