[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] vl.c && linux-user/main.c : removed **envp from
From: |
Laurent Vivier |
Subject: |
Re: [Qemu-devel] [PATCH] vl.c && linux-user/main.c : removed **envp from main() arguments |
Date: |
Mon, 18 Dec 2017 15:07:26 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
Le 18/12/2017 à 13:30, Peter Maydell a écrit :
> On 18 December 2017 at 07:52, Laurent Vivier <address@hidden> wrote:
>> I think we don't need it anymore as there is no difference betweent
>> qemu_main() and main().
>
> You need to be a bit cautious there to avoid breaking
> the OSX code in ui/cocoa.m, which has its own version
> of main() which kicks off the GUI code and then eventually
> calls qemu_main() later.
Yes, you're right. cocoa.m needs qemu_main() because there is already a
main() inside. So we can't remove qemu_main().
Thanks,
Laurent