Le 18/12/2017 à 13:30, Peter Maydell a écrit : > On 18 December 2017 at 07:52, Laurent Vivier <laur...@vivier.eu> 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