We have identified that upstream commit
00b89fe0197f0c55a045775c11553c0cdb7082fe ("sched: Make the idle task
quack like a per-CPU kthread") causes this, and its revert fixes the
problem.

@smb identified commit a8ea6fc9b089156d9230bfeef964dd9be101a4a9 ("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.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1940107

Title:
  libvirtd failes to create VM

Status in linux package in Ubuntu:
  Invalid
Status in linux source package in Hirsute:
  In Progress

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_CREATE_VM) failed: 22 Invalid argument
  2021-08-16T15:11:23.005201Z qemu-system-x86_64: failed to initialize KVM: 
Invalid argument

  $ sudo dmesg | grep kvm
  [  135.237378] kvm: Nested Virtualization enabled
  [  135.237384] SVM: kvm: Nested Paging enabled
  [  166.209556] kvm [4082]: kvm_vm_worker_thread: cgroup_attach_task_all 
failed with err -22

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1940107/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to