Bug 499577
| Summary: | RHEL 5.4 vt-d: libvirt's qemu driver interprets the <hostdev> "managed" attribute incorrectly | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Mark McLoughlin <markmc> |
| Component: | libvirt | Assignee: | Daniel Berrangé <berrange> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.4 | CC: | berrange, clalance, crobinso, nzhang, veillard, virt-maint, xen-maint |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 499386 | Environment: | |
| Last Closed: | 2009-09-02 09:21:17 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Mark McLoughlin
2009-05-07 09:45:05 UTC
This has been applied upstream long ago, Daniel libvirt-0.6.3-5.el5 has been built in dist-5E-qu-candidate with the fix, Daniel [root@dhcp-66-70-85 ~]# virsh nodedev-list --tree
Add hostdev section to domain xml with managed='yes':
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address bus='0x02' slot='0x00' function='0x00'/>
</source>
</hostdev>
[root@dhcp-66-70-85 ~]# virsh edit demo
Domain demo XML configuration edited.
[root@dhcp-66-70-85 ~]# virsh nodedev-dettach pci_14e4_167a
Device pci_14e4_167a dettached
[root@dhcp-66-70-85 ~]# virsh nodedev-reset pci_14e4_167a
Device pci_14e4_167a reset
[root@dhcp-66-70-85 ~]# virsh nodedev-reattach pci_14e4_167a
Device pci_14e4_167a re-attached
Verified with libvirt 0.6.3-6 on RHEL-5.4. Fixed.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-1269.html |