Fully split off global and local config file loading
This commit is contained in:
@@ -1107,6 +1107,9 @@ usage:
|
|||||||
pclog("# VM Manager enabled. Path: %s\n", vmm_path);
|
pclog("# VM Manager enabled. Path: %s\n", vmm_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Load the global configuration file. */
|
||||||
|
config_load_global();
|
||||||
|
|
||||||
if (!vmm_enabled) {
|
if (!vmm_enabled) {
|
||||||
/*
|
/*
|
||||||
* We are about to read the configuration file, which MAY
|
* We are about to read the configuration file, which MAY
|
||||||
|
|||||||
@@ -2023,8 +2023,6 @@ config_load(void)
|
|||||||
int i;
|
int i;
|
||||||
ini_section_t c;
|
ini_section_t c;
|
||||||
|
|
||||||
config_load_global();
|
|
||||||
|
|
||||||
config_log("Loading VM config file '%s'...\n", cfg_path);
|
config_log("Loading VM config file '%s'...\n", cfg_path);
|
||||||
|
|
||||||
memset(hdd, 0, sizeof(hard_disk_t));
|
memset(hdd, 0, sizeof(hard_disk_t));
|
||||||
|
|||||||
Reference in New Issue
Block a user