module: qom module support
commit28457744c345ca4ccb58c984c9552e9c5955a9de
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 24 Jun 2020 13:10:36 +0000 (24 15:10 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 7 Jul 2020 12:54:29 +0000 (7 14:54 +0200)
treeead752b46d257cdf4ff53fcb3d4200c2b22caca5
parent7623b5ba017f61de5d7c2bba12c6feb3d55091b1
module: qom module support

Add support for qom types provided by modules.  For starters use a
manually maintained list which maps qom type to module and prefix.

Two load functions are added:  One to load the module for a specific
type, and one to load all modules (needed for object/device lists as
printed by -- for example -- qemu -device help).

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200624131045.14512-2-kraxel@redhat.com
include/qemu/module.h
util/module.c