Re: [PATCH v2] ui/cocoa: Do not exit immediately after shutdown

2021-03-11 Thread Gerd Hoffmann
On Fri, Feb 19, 2021 at 08:16:52PM +0900, Akihiko Odaki wrote: > ui/cocoa used to call exit immediately after calling > qemu_system_shutdown_request, which prevents QEMU from actually > perfoming system shutdown. Just sleep forever, and wait QEMU to call > exit and kill the Cocoa thread. > > Signe

[PATCH v2] ui/cocoa: Do not exit immediately after shutdown

2021-02-19 Thread Akihiko Odaki
ui/cocoa used to call exit immediately after calling qemu_system_shutdown_request, which prevents QEMU from actually perfoming system shutdown. Just sleep forever, and wait QEMU to call exit and kill the Cocoa thread. Signed-off-by: Akihiko Odaki --- ui/cocoa.m | 8 +++- 1 file changed, 7 in