summaryrefslogtreecommitdiffstats
path: root/qom
diff options
context:
space:
mode:
authorClaudio Fontana2022-09-29 11:30:32 +0200
committerPaolo Bonzini2022-11-06 09:48:50 +0100
commitdbc0e80553c067f56cb236d9de2cd0d50f3c6131 (patch)
tree623881e9b55c5d6de34f5b9f497e6e964086a465 /qom
parentmodule: removed unused function argument "mayfail" (diff)
downloadqemu-dbc0e80553c067f56cb236d9de2cd0d50f3c6131.tar.gz
qemu-dbc0e80553c067f56cb236d9de2cd0d50f3c6131.tar.xz
qemu-dbc0e80553c067f56cb236d9de2cd0d50f3c6131.zip
module: rename module_load_one to module_load
Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220929093035.4231-3-cfontana@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qom')
-rw-r--r--qom/object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/qom/object.c b/qom/object.c
index e5cef30f6d..aba942bdf3 100644
--- a/qom/object.c
+++ b/qom/object.c
@@ -526,7 +526,7 @@ void object_initialize(void *data, size_t size, const char *typename)
#ifdef CONFIG_MODULES
if (!type) {
- module_load_qom_one(typename);
+ module_load_qom(typename);
type = type_get_by_name(typename);
}
#endif
@@ -1033,7 +1033,7 @@ ObjectClass *module_object_class_by_name(const char *typename)
oc = object_class_by_name(typename);
#ifdef CONFIG_MODULES
if (!oc) {
- module_load_qom_one(typename);
+ module_load_qom(typename);
oc = object_class_by_name(typename);
}
#endif