Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
(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.
Comment 8Pablo Iranzo Gómez
2016-09-16 10:50:40 UTC