Bug 1665474

Summary: libvirt segfaults with vfio-pci hostdev device
Product: Red Hat Enterprise Linux 7 Reporter: John Ferlan <jferlan>
Component: libvirtAssignee: John Ferlan <jferlan>
Status: CLOSED ERRATA QA Contact: yalzhang <yalzhang>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.7CC: jdenemar, yalzhang
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-4.5.0-11.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1665244 Environment:
Last Closed: 2019-08-06 13:14:35 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:
Bug Depends On: 1665244    
Bug Blocks:    

Comment 6 yalzhang@redhat.com 2019-04-11 08:57:45 UTC
This bug can be reproduce by the steps as in bug 1665244#c6
Test on libvirt-4.5.0-12.el7.x86_64, the bug is fixed.

# virsh dumpxml rhel | grep /hostdev -B5
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <source>
        <address domain='0x0000' bus='0x82' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
    </hostdev>


# pidof libvirtd; virsh start rhel; pidof libvirtd
21500
Domain rhel started

21500

# cat /var/log/libvirt/libvirtd.log | grep error | grep -v info
==> no error found in the libvirtd log

Comment 8 errata-xmlrpc 2019-08-06 13:14:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:2294