"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "util/module.c" between
qemu-6.0.0-rc1.tar.xz and qemu-6.0.0-rc2.tar.xz

About: QEMU is a generic machine/processor emulator and virtualizer. Release candidate.

module.c  (qemu-6.0.0-rc1.tar.xz):module.c  (qemu-6.0.0-rc2.tar.xz)
skipping to change at line 232 skipping to change at line 232
if (strcmp(module_name, module_deps[dep].name) == 0) { if (strcmp(module_name, module_deps[dep].name) == 0) {
/* we depend on another module */ /* we depend on another module */
module_load_one("", module_deps[dep].dep, false); module_load_one("", module_deps[dep].dep, false);
} }
if (strcmp(module_name, module_deps[dep].dep) == 0) { if (strcmp(module_name, module_deps[dep].dep) == 0) {
/* another module depends on us */ /* another module depends on us */
export_symbols = true; export_symbols = true;
} }
} }
if (!g_hash_table_add(loaded_modules, module_name)) { if (g_hash_table_contains(loaded_modules, module_name)) {
g_free(module_name); g_free(module_name);
return true; return true;
} }
g_hash_table_add(loaded_modules, module_name);
search_dir = getenv("QEMU_MODULE_DIR"); search_dir = getenv("QEMU_MODULE_DIR");
if (search_dir != NULL) { if (search_dir != NULL) {
dirs[n_dirs++] = g_strdup_printf("%s", search_dir); dirs[n_dirs++] = g_strdup_printf("%s", search_dir);
} }
dirs[n_dirs++] = get_relocated_path(CONFIG_QEMU_MODDIR); dirs[n_dirs++] = get_relocated_path(CONFIG_QEMU_MODDIR);
dirs[n_dirs++] = g_strdup(qemu_get_exec_dir()); dirs[n_dirs++] = g_strdup(qemu_get_exec_dir());
#ifdef CONFIG_MODULE_UPGRADES #ifdef CONFIG_MODULE_UPGRADES
version_dir = g_strcanon(g_strdup(QEMU_PKGVERSION), version_dir = g_strcanon(g_strdup(QEMU_PKGVERSION),
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)