升级到macOS Catalina后Qemu没有响应 [英] Qemu not responding after upgrading to macOS Catalina
问题描述
将Mac升级到Catalina后,我无法再使用qemu.每当我尝试启动它时,它就会挂起.qemu窗口处于活动状态时,菜单栏也没有响应.运行 qemu-system-i386 --help
确实可以.
After upgrading my Mac to Catalina, I can't use qemu anymore. Whenever I try to start it, it just hangs. The menu bar also doesn't respond while the qemu window is active.
Running qemu-system-i386 --help
does work though.
Qemu版本:4.1.0
Qemu version: 4.1.0
传递 -nographic
可解决此问题.
推荐答案
这是Catalina行为变化的结果,这打破了QEMU可可前端设计的假设.我们对QEMU代码(上游git commit dff742ad27efa474)进行了更改,避免了挂起;这将在即将发布的QEMU 4.2版本中进行.同时,一种解决方法是避免使用Cocoa前端(例如,使用-nographic完全关闭图形,或者使用其他显示前端之一,例如VNC或Spice).
This is the result of a change in behaviour in Catalina which breaks an assumption in the design of the QEMU Cocoa front-end. We've put in a change to the QEMU code (upstream git commit dff742ad27efa474) which avoids the hang; this will be in the upcoming QEMU 4.2 release. In the meantime a workaround is to avoid the Cocoa frontend (eg using -nographic to turn off graphics altogether, or using one of the other display frontends like VNC or Spice).
(Catalina行为更改的技术细节是在处理任何事件之前调用了NSApplicationDelegate :: applicationDidFinishLaunching文档[
(The technical detail of the Catalina behaviour change is that NSApplicationDelegate::applicationDidFinishLaunching documents that it is called before any events are processed [ https://developer.apple.com/documentation/appkit/nsapplicationdelegate/1428385-applicationdidfinishlaunching ] and this was true in older versions of OSX, but in Catalina at least one event is sent to the app before applicationDidFinishLaunching, which triggered a deadlock in QEMU.)
显然已经向Apple提交了有关OSX行为更改的反馈报告,错误号FB7380815.
A feedback report has apparently been filed with Apple about the OSX behaviour change, bug number FB7380815.
这篇关于升级到macOS Catalina后Qemu没有响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!