diff options
author | Akihiko Odaki <akihiko.odaki@gmail.com> | 2022-06-24 23:50:39 +0900 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-07-13 16:58:57 +0200 |
commit | 98753e9a8fc1791b60f1a674452ceb1184eb613a (patch) | |
tree | 210b930d9df12468271f97a032d63a15c2871ecb /util/module.c | |
parent | 882084a04ae9bec00e510a2319feba1d1a653fb1 (diff) | |
download | qemu-98753e9a8fc1791b60f1a674452ceb1184eb613a.zip qemu-98753e9a8fc1791b60f1a674452ceb1184eb613a.tar.gz qemu-98753e9a8fc1791b60f1a674452ceb1184eb613a.tar.bz2 |
module: Use bundle mechanism
Before this change, the directory of the executable was being added to
resolve modules in the build tree. However, get_relocated_path() can now
resolve them with the new bundle mechanism.
Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Message-Id: <20220624145039.49929-5-akihiko.odaki@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/module.c')
-rw-r--r-- | util/module.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/util/module.c b/util/module.c index 6bb4ad9..8ddb0e1 100644 --- a/util/module.c +++ b/util/module.c @@ -274,7 +274,6 @@ bool module_load_one(const char *prefix, const char *lib_name, bool mayfail) dirs[n_dirs++] = g_strdup_printf("%s", search_dir); } dirs[n_dirs++] = get_relocated_path(CONFIG_QEMU_MODDIR); - dirs[n_dirs++] = g_strdup(qemu_get_exec_dir()); #ifdef CONFIG_MODULE_UPGRADES version_dir = g_strcanon(g_strdup(QEMU_PKGVERSION), |