Bug 1028629
Summary: | virsh nodedev-detach fails if device has no driver | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alex Williamson <alex.williamson> |
Component: | libvirt | Assignee: | Cole Robinson <crobinso> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | berrange, clalancette, itamar, jdenemar, jforbes, jyang, laine, libvirt-maint, veillard, virt-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-11-12 15:15:05 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: | |
Embargoed: | |||
Bug Depends On: | 1018897 | ||
Bug Blocks: |
Description
Alex Williamson
2013-11-08 22:07:29 UTC
This should be fixed upstream by the following commit: commit df4283a55bf3516b333352e2052dbe3317936953 Author: Michal Privoznik <mprivozn> AuthorDate: Thu Oct 31 10:32:58 2013 +0000 Commit: Michal Privoznik <mprivozn> CommitDate: Mon Nov 4 17:28:51 2013 +0100 virpci: Don't error on unbinded devices https://bugzilla.redhat.com/show_bug.cgi?id=1018897 If a PCI deivce is not binded to any driver (e.g. there's yet no PCI driver in the linux kernel) but still users want to passthru the device we fail the whole operation as we fail to resolve the 'driver' link under the PCI device sysfs tree. Obviously, this is not a fatal error and it shouldn't be error at all. Signed-off-by: Michal Privoznik <mprivozn> v1.1.4-15-gdf4283a I've pushed that patch to the libvirt 1.1.3 maint branch (the f20 version). The initial report is against the virt-preview/rawhide version though, and that's where the GPU passthrough testing is currently happening, so I'll do a rawhide build with the fix for now. The next maint release will pick it up for F20. Fixed in libvirt-1.1.4-2.fc21 |