libvirtd fails to create VM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
High
|
Thadeu Lima de Souza Cascardo |
Bug Description
[Impact]
libvirtd won't be able to create VMs.
[Test case]
Start a VM using virsh/libvirtd:
virsh start focal
[Potential regression]
Some other processes won't be able to start inside some cgroups.
-------
$ virsh start focal
error: Failed to start domain focal
error: internal error: process exited while connecting to monitor: ioctl(KVM_
2021-08-
$ sudo dmesg | grep kvm
[ 135.237378] kvm: Nested Virtualization enabled
[ 135.237384] SVM: kvm: Nested Paging enabled
[ 166.209556] kvm [4082]: kvm_vm_
CVE References
Changed in linux (Ubuntu): | |
status: | New → Invalid |
Changed in linux (Ubuntu Hirsute): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Thadeu Lima de Souza Cascardo (cascardo) |
summary: |
- libvirtd failes to create VM + libvirtd fails to create VM |
Changed in linux (Ubuntu Hirsute): | |
status: | In Progress → Fix Committed |
We have identified that upstream commit 00b89fe0197f0c5 5a045775c11553c 0cdb7082fe ("sched: Make the idle task quack like a per-CPU kthread") causes this, and its revert fixes the problem.
@smb identified commit a8ea6fc9b089156 d9230bfeef964dd 9be101a4a9 ("sched: Stop PF_NO_SETAFFINITY from being inherited by various init system threads") should probably fix it, which will be tested and sent as part of a respin for 5.11.
Cascardo.