|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH v19 11/11] module: Pass argv[0] along the module load path |
Date: | Sun, 09 Feb 2014 11:00:32 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
Il 09/02/2014 10:26, Fam Zheng ha scritto:
> The executable directory is not found once and for all, it's recomputed on > any call to module_load or os_find_datadir. > How about compute it for once in main() and load in module_call_init()?
Sure, that's what Peter's suggesting. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |