Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 579862

Summary: SR-IOV -- Guest exit and host hang on if boot VM with 8 VFs assigned
Product: Red Hat Enterprise Linux 5 Reporter: RHEL Program Management <pm-rhel>
Component: kvmAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 5.4CC: cpelland, ddutile, ehabkost, ndai, pm-eus, qzhang, tburke, virt-maint, ykaul, yzhou
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kvm-83-105.el5_4.30 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-21 07:42:34 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: 520572    
Bug Blocks:    

Description RHEL Program Management 2010-04-06 18:46:25 UTC
This bug has been copied from bug #520572 and has been proposed
to be backported to 5.4 z-stream (EUS).

Comment 6 Qunfang Zhang 2010-04-12 08:51:00 UTC
Can reproduce the issue on kvm-83-105.el5_4.28.
1.In qemu monitor, displays: "assigned_dev_enable_msix: assign irq: Bad address"
2.In the dmesg of guest, there are: "kvm: exhaust allocatable IRQ sources!"

Re-test in kvm-83-105.el5_4.30,kernel: 2.6.18-164.15.1.el5.this issue does not exist.

Command line:
/usr/libexec/qemu-kvm -no-hpet -usbdevice tablet -rtc-td-hack -smp 2 -m 2G -drive file=RHEL5.4-Server-64.qcow2,media=disk,if=ide,cache=off -net none -vnc :10 -monitor stdio -cpu qemu64,+sse2 -pcidevice host=03:10.0 -pcidevice host=03:10.1 -pcidevice host=03:10.2 -pcidevice host=03:10.3 -pcidevice host=03:10.4 -pcidevice host=03:10.5 -pcidevice host=03:10.6 -pcidevice host=03:10.7

Steps:
1.rmmod igb
  modprobe igb max_vfs=7
2.bind 8 VFs to pci-stub driver.
3.boot a guest with above command line.
4.check dmesg of guest and host,and also check if there are error message in qemu monitor.

Comment 10 errata-xmlrpc 2010-05-21 07:42:34 UTC
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/RHBA-2010-0434.html