mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-15 22:21:57 -06:00
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
This commit is contained in:
parent
7623b5ba01
commit
28457744c3
2 changed files with 57 additions and 0 deletions
|
@ -70,5 +70,7 @@ void register_dso_module_init(void (*fn)(void), module_init_type type);
|
|||
|
||||
void module_call_init(module_init_type type);
|
||||
bool module_load_one(const char *prefix, const char *lib_name);
|
||||
void module_load_qom_one(const char *type);
|
||||
void module_load_qom_all(void);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue