[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v19 11/11] module: Pass argv[0] along the module
From: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] [PATCH v19 11/11] module: Pass argv[0] along the module load path |
Date: |
Sun, 9 Feb 2014 20:13:24 +0800 |
On Sun, Feb 9, 2014 at 7:48 PM, Peter Maydell <address@hidden> wrote:
> Ah, sorry, I hadn't spotted that. OK, then I think we should use that
> code (and I'll test the MacOS X version), but it should go in a
> called-once-from main init function that stashes the answer in
> a static variable, and then the 'get the path' function should just
> read that. Then we won't have to pass argv0 around more than
> we need to.
>
OK, I'll do this. Thanks.
Fam