utmapp / utmapp/UTM

QEMULauncher uses 200% CPU

Open
#5,833 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
35.5k
Forks
1.8k
Avg merge
5d 5h
Merged PRs (30d)
7

Description

**Describe the issue**
After host suspend/resume, without stopping VM, sometimes QEMULauncher uses 200% CPU and network in VM doesn't work. It feels like issues less reproducible after upgrade to Sonoma and UTM 4.3/4.4 but it is still there.

I believe it is closely related to https://github.com/utmapp/UTM/issues/4803

I use VM as headless but have serial terminal connected. To work around this issue I log in to the guest over serial, it works perfectly fine, no CPU usage reported but network is completely dead. Simple turn off/on of the network interface(using something like `ip link set enp0s1 down && ip link set enp0s1 up`) lead to the interface reinitialisation and online fix of the QEMU network stack.

**Configuration**
* UTM Version: 4.4.3
* macOS Version: 14.1
* Mac Chip (Intel, M1, ...): M1

**Crash log**
N/A

**Debug log**
Sampling taken during the issue: [QEMULauncher-4.4.3.txt](https://github.com/utmapp/UTM/files/13179026/QEMULauncher-4.4.3.txt)

**Upload VM**
Was unable to reproduce this issue on general, fresh, VM. But, maybe I just need more patience.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.