[Bug 219112] Machine will not wake from suspend if KVM VM is running

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=219112

Sean Christopherson (seanjc@xxxxxxxxxx) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |seanjc@xxxxxxxxxx

--- Comment #5 from Sean Christopherson (seanjc@xxxxxxxxxx) ---
Heh, that was quite the rabbit hole.  Poking around reminded me of a bug report
from Tejun about KVM worker threads not freezing in certain scenarios[*].

Long explanation very short, can you try setting KVM's "nx_huge_pages" module
param to "never"?  E.g. via

  echo "never" | sudo tee /sys/module/kvm/parameters/nx_huge_pages

Note, the module param is writable even while KVM is loaded, but it needs to be
set to "never' _before_ launching any VMs, in which case KVM won't spawn the
associated worker thread.  I.e. the "never" setting only affects worker threads
for new VMs.

AFAIK, that's the only problematic flavor of worker thread in KVM.  If that
makes the suspend/resume problem go away, then odds are very good the
underlying issue is the same one Tejun reported.

[*] https://lore.kernel.org/all/ZyAnSAw34jwWicJl@xxxxxxxxxxxxxxx

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux