summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorClaudio Fontana2022-09-29 11:30:32 +0200
committerPaolo Bonzini2022-11-06 09:48:50 +0100
commitdbc0e80553c067f56cb236d9de2cd0d50f3c6131 (patch)
tree623881e9b55c5d6de34f5b9f497e6e964086a465 /ui
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 'ui')
-rw-r--r--ui/console.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/console.c b/ui/console.c
index 65c117874c..44dfb0f52b 100644
--- a/ui/console.c
+++ b/ui/console.c
@@ -2632,7 +2632,7 @@ bool qemu_display_find_default(DisplayOptions *opts)
for (i = 0; i < (int)ARRAY_SIZE(prio); i++) {
if (dpys[prio[i]] == NULL) {
- ui_module_load_one(DisplayType_str(prio[i]));
+ ui_module_load(DisplayType_str(prio[i]));
}
if (dpys[prio[i]] == NULL) {
continue;
@@ -2650,7 +2650,7 @@ void qemu_display_early_init(DisplayOptions *opts)
return;
}
if (dpys[opts->type] == NULL) {
- ui_module_load_one(DisplayType_str(opts->type));
+ ui_module_load(DisplayType_str(opts->type));
}
if (dpys[opts->type] == NULL) {
error_report("Display '%s' is not available.",
@@ -2680,7 +2680,7 @@ void qemu_display_help(void)
printf("none\n");
for (idx = DISPLAY_TYPE_NONE; idx < DISPLAY_TYPE__MAX; idx++) {
if (!dpys[idx]) {
- ui_module_load_one(DisplayType_str(idx));
+ ui_module_load(DisplayType_str(idx));
}
if (dpys[idx]) {
printf("%s\n", DisplayType_str(dpys[idx]->type));