Bugs item #2847560, was opened at 2009-08-30 22:58 Message generated for change (Settings changed) made by jiajun You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2847560&group_id=180599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: kernel Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Jiajun Xu (jiajun) Assigned to: Nobody/Anonymous (nobody) Summary: Guest hang with exhausted IRQ sources error if 8 VFs assigne Initial Comment: Environment: ------------ Host OS (ia32/ia32e/IA64): ia32e Guest OS (ia32/ia32e/IA64): ia32e Guest OS Type (Linux/Windows): Linux kvm.git Commit: 779cc54dbccaa3a00d70a9d61d090be5d9ccc903 qemu-kvm Commit: 9e3269181e9bc56feb43bcd4e8ce0b82cd543e65 Host Kernel Version: 2.6.31-rc5 Hardware: NHM-EP Bug detailed description: -------------------------- If boot a guest with 8 VFs assigned, guest will hang at stage of "Starting udev:". And dmesg will shows that "kvm: exhaust allocatable IRQ sources!" If boot a guest with 6 VFs assigned, guest can boot up and VF can work well in guest. Dmesg info: ######## pci-stub 0000:01:10.0: enabling device (0000 -> 0002) assign device: host bdf = 1:10:0 pci-stub 0000:01:10.1: enabling device (0000 -> 0002) assign device: host bdf = 1:10:1 pci-stub 0000:01:10.2: enabling device (0000 -> 0002) assign device: host bdf = 1:10:2 pci-stub 0000:01:10.3: enabling device (0000 -> 0002) assign device: host bdf = 1:10:3 pci-stub 0000:01:10.4: enabling device (0000 -> 0002) assign device: host bdf = 1:10:4 pci-stub 0000:01:10.5: enabling device (0000 -> 0002) assign device: host bdf = 1:10:5 pci-stub 0000:01:10.6: enabling device (0000 -> 0002) assign device: host bdf = 1:10:6 pci-stub 0000:01:10.7: enabling device (0000 -> 0002) assign device: host bdf = 1:10:7 pci-stub 0000:01:10.0: irq 91 for MSI/MSI-X pci-stub 0000:01:10.0: irq 92 for MSI/MSI-X pci-stub 0000:01:10.0: irq 93 for MSI/MSI-X pci-stub 0000:01:10.1: irq 97 for MSI/MSI-X pci-stub 0000:01:10.1: irq 98 for MSI/MSI-X pci-stub 0000:01:10.1: irq 99 for MSI/MSI-X pci-stub 0000:01:10.2: irq 100 for MSI/MSI-X pci-stub 0000:01:10.2: irq 101 for MSI/MSI-X pci-stub 0000:01:10.2: irq 102 for MSI/MSI-X pci-stub 0000:01:10.3: irq 103 for MSI/MSI-X pci-stub 0000:01:10.3: irq 104 for MSI/MSI-X pci-stub 0000:01:10.3: irq 105 for MSI/MSI-X pci-stub 0000:01:10.4: irq 106 for MSI/MSI-X pci-stub 0000:01:10.4: irq 107 for MSI/MSI-X pci-stub 0000:01:10.4: irq 108 for MSI/MSI-X pci-stub 0000:01:10.5: irq 112 for MSI/MSI-X pci-stub 0000:01:10.5: irq 113 for MSI/MSI-X pci-stub 0000:01:10.5: irq 114 for MSI/MSI-X pci-stub 0000:01:10.6: irq 115 for MSI/MSI-X pci-stub 0000:01:10.6: irq 116 for MSI/MSI-X pci-stub 0000:01:10.6: irq 117 for MSI/MSI-X kvm: exhaust allocatable IRQ sources! ######## ---------------------------------------------------------------------- >Comment By: Jiajun Xu (jiajun) Date: 2009-11-08 22:00 Message: The bug is fixed by commit kvm.git commit, 99c52eb29f6f013b7a9f5c25439091a2fad0fd80: commit 99c52eb29f6f013b7a9f5c25439091a2fad0fd80 Author: Marcelo Tosatti <mtosatti@xxxxxxxxxx> Date: Sat Oct 17 22:47:23 2009 -0300 KVM: fix irq_source_id size verification find_first_zero_bit works with bit numbers, not bytes. Fixes https://sourceforge.net/tracker/?func=detail&aid=2847560&group_id=180599&atid=893831 Reported-by: "Xu, Jiajun" <jiajun.xu@xxxxxxxxx> Signed-off-by: Marcelo Tosatti <mtosatti@xxxxxxxxxx> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2847560&group_id=180599 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html