mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
2106106d80
commit
dbc0e80553
9 changed files with 24 additions and 24 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue