[PATCH v3] ui: Fix hanging up Cocoa display on macOS 10.15 (Catalina)

2019-10-14 Thread hikarupsp
From: Hikaru Nishida macOS API documentation says that before applicationDidFinishLaunching is called, any events will not be processed. However, some events are fired before it is called in macOS Catalina. This causes deadlock of iothread_lock in handleEvent while it will be released after the a

[PATCH v2] ui: Fix hanging up Cocoa display on macOS 10.15 (Catalina)

2019-10-14 Thread hikarupsp
From: Hikaru Nishida macOS API documentation says that before applicationDidFinishLaunching is called, any events will not be processed. However, some events are fired before it is called in macOS Catalina. This causes deadlock of iothread_lock in handleEvent while it will be released after the a

[PATCH] This patch fixes hanging up Cocoa display on macOS 10.15 (Catalina)

2019-10-14 Thread hikarupsp
From: Hikaru Nishida An NSEvent is fired before applicationDidFinishLaunching on macOS Catalina. This causes deadlock of iothread_lock by calling bool_with_iothread_lock in handleEvent while its already locked. This patch prevents to call bool_with_iothread_lock until the app_started_sem is relea

[Qemu-devel] [PATCH] xhci: Add No Op Command

2019-07-19 Thread hikarupsp
From: Hikaru Nishida This commit adds No Op Command (23) to xHC for verifying the operation of the Command Ring mechanisms. No Op Command is defined in XHCI spec (4.6.2) and just reports Command Completion Event with Completion Code == Success. Before this commit, No Op Command is not implemented

[Qemu-devel] [PATCH v2] hostmem-file: make available memory-backend-file on POSIX-based hosts

2018-09-24 Thread hikarupsp
From: Hikaru Nishida Before this change, memory-backend-file object is valid for Linux hosts only because hostmem-file.c is compiled only on Linux hosts. However, other POSIX-based hosts (such as macOS) can support memory-backend-file object in the same way as on Linux hosts. This patch makes hos

[Qemu-devel] [PATCH] hostmem-file: make available memory-backend-file on macOS hosts

2018-09-24 Thread hikarupsp
From: Hikaru Nishida Before this change, memory-backend-file object is invalid for macOS hosts because hostmem-file.c is compiled only on Linux hosts. However, macOS hosts can support memory-backend-file object in the same way as on Linux hosts. This patch makes hostmem-file.c and related functio