Re: [PATCH v2 1/3] ui/cocoa: Run qemu_init in the main thread

2022-07-15 Thread Peter Maydell
On Fri, 15 Jul 2022 at 14:19, Akihiko Odaki wrote: > > On 2022/07/15 22:10, Peter Maydell wrote: > > On Fri, 15 Jul 2022 at 12:40, Akihiko Odaki wrote: > >> > >> This work is based on: > >> https://patchew.org/QEMU/20220317125534.38706-1-philippe.mathieu.da...@gmail.com/ > >> > >> Simplify the

Re: [PATCH v2 1/3] ui/cocoa: Run qemu_init in the main thread

2022-07-15 Thread Akihiko Odaki
On 2022/07/15 22:10, Peter Maydell wrote: On Fri, 15 Jul 2022 at 12:40, Akihiko Odaki wrote: This work is based on: https://patchew.org/QEMU/20220317125534.38706-1-philippe.mathieu.da...@gmail.com/ Simplify the initialization dance by running qemu_init() in the main thread before the Cocoa

Re: [PATCH v2 1/3] ui/cocoa: Run qemu_init in the main thread

2022-07-15 Thread Peter Maydell
On Fri, 15 Jul 2022 at 12:40, Akihiko Odaki wrote: > > This work is based on: > https://patchew.org/QEMU/20220317125534.38706-1-philippe.mathieu.da...@gmail.com/ > > Simplify the initialization dance by running qemu_init() in the main > thread before the Cocoa event loop starts. The secondary

[PATCH v2 1/3] ui/cocoa: Run qemu_init in the main thread

2022-07-15 Thread Akihiko Odaki
This work is based on: https://patchew.org/QEMU/20220317125534.38706-1-philippe.mathieu.da...@gmail.com/ Simplify the initialization dance by running qemu_init() in the main thread before the Cocoa event loop starts. The secondary thread only runs only qemu_main_loop() and qemu_cleanup(). This