QEMU pegs CPU at 100% when running a Focal guest image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Running a VM with a guest kernel >=5.2 results in the QEMU process pegging the CPU at 100%. Sometimes it recovers but most of the times the QEMU process just hangs, libvirt times out trying to talk to it and it can't be killed.
[Test Case]
Spin up a libvirt VM that runs a kernel >=5.2. Sometimes it takes a couple of VM reboots but the QEMU process will eventually hang with 100% CPU utilization.
[Fix]
Cherry pick commit 53a712bae5dd ("powerpc/
[Regression Potential]
Moderate. The commit is in 5.2 and is a clean cherry-pick but it's POWER assembly voodoo.
[Original Description]
Running a Focal guest image with a 5.4 kernel on a POWER9 Bionic host with kernel 4.15 leads to the QEMU process pegging the CPU at 100%.
no longer affects: | linux-raspi2 (Ubuntu) |
Changed in linux (Ubuntu Bionic): | |
status: | New → Confirmed |
description: | updated |
summary: |
- QEMU pegs cpu at 100% when running a Focal guest image + QEMU pegs CPU at 100% when running a Focal guest image |
description: | updated |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
description: | updated |
Changed in linux (Ubuntu Bionic): | |
status: | Confirmed → In Progress |
Changed in linux (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1874005
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.