qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: get_relocated_path: the configured paths are not looked for?


From: Michael Tokarev
Subject: Re: get_relocated_path: the configured paths are not looked for?
Date: Sun, 23 Apr 2023 16:22:59 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

23.04.2023 14:47, Akihiko Odaki пишет:

https://salsa.debian.org/qemu-team/qemu/-/commit/e017f53a8550d0bcaaca81c6dacac8ec34295cf0
fwiw.

Also, that works only if the version changed. For example, consider the case where you patched a module downstream. To compare the behaviors of the patched and unpatched ones, you'll need to copy the modules somewhere else.

Let's focus on modules in this discussion. There should be no problem with data files here. You can pick data files from a different QEMU version and it should just work fine. And even if it unfortunately does not work, you can still use -L option to fix it.

That's not the case for modules. Modules are coupled with the executable so you need to copy them along with the executable and the executable should be able to find them.

The modules case is actually trivial.  For this one, we have
$QEMU_MODULE_DIR which, if set, will be searched first.

There's no need to make tricks and turn --libdir or --datadir
specified at configure time as absolute paths, into something
entirely unpredictable.

/mjt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]