| Summary: | VM suspend times out due to a driver issue | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Pablo Iranzo Gómez <pablo.iranzo> |
| Component: | kernel | Assignee: | Ivan Vecera <ivecera> |
| kernel sub component: | NIC Drivers | QA Contact: | Ma Yuying <yuma> |
| Status: | CLOSED CANTFIX | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | alex.williamson, ivecera, jshortt, network-qe, nhorman, pablo.iranzo |
| Version: | 7.2 | ||
| Target Milestone: | rc | ||
| Target Release: | 7.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-10-21 13:10:50 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Pablo Iranzo Gómez
2016-09-07 07:42:54 UTC
Looks like this should be fixed in 7.3 (in commit 1b1b4f1518c43d9660a3ab86c9e2fa5698848843). Please retest with kernel-3.10.0-377.el7 or later. (In reply to Neil Horman from comment #3) > Looks like this should be fixed in 7.3 (in commit > 1b1b4f1518c43d9660a3ab86c9e2fa5698848843). Please retest with > kernel-3.10.0-377.el7 or later. Neil, this commit only removes the warning message and does not solve the hung libvirtd process. AFAIK, we do not support suspending a VM (S3/S4) with an assigned device attached. That said, rarely is the hung task backtrace all that useful, it's blocked, but why is it blocked. libvirt is trying to unbind the device from vfio-pci, which is an operation that will block as long as the vfio device is in use. So who is using it. Is the QEMU process still running? A workaround might be to change from managed='yes' to managed='no' in the VM xml for the assigned device, if the device is pre-bound to vfio-pci using 'virsh nodedev-detach $DEV' then libvirt won't try to return it to the host driver, avoiding this whole unbind issue (hopefully). That said, I don't know if suspend will then work, because it's not supported. Thanks Alex, I'm creating kbase for it. |