Re: [PATCH v2] ui/cocoa: Create menus in iothread

2022-03-07 Thread Peter Maydell
On Sun, 6 Mar 2022 at 06:57, Akihiko Odaki wrote: > > Commit 0439c5a4623d674efa0c72abd62ca6e98bb7cf87 introduced an > assertion that blk_all_next is called in the main thread. The function > is called in the following chain: > - blk_all_next > - qmp_query_block > - addRemovableDevicesMenuItems > -

[PATCH v2] ui/cocoa: Create menus in iothread

2022-03-05 Thread Akihiko Odaki
Commit 0439c5a4623d674efa0c72abd62ca6e98bb7cf87 introduced an assertion that blk_all_next is called in the main thread. The function is called in the following chain: - blk_all_next - qmp_query_block - addRemovableDevicesMenuItems - main This change moves the menu creation to the iothread. This al