From: Markus Armbruster Subject: Re: virtio-blk-pci chokes on some PCI slots Date: Thu, 18 Jun 2009 13:55:27 +0200 Message-ID: <87skhxwyc0.fsf@pike.pond.sub.org> References: <87fxe0t9am.fsf@pike.pond.sub.org> <20090616173127.GB4397@amt.cnet> <87skhy12cw.fsf@pike.pond.sub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, hch@lst.de To: Marcelo Tosatti Return-path: Received: from mx2.redhat.com ([66.187.237.31]:45048 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755636AbZFRLz2 (ORCPT ); Thu, 18 Jun 2009 07:55:28 -0400 In-Reply-To: <87skhy12cw.fsf@pike.pond.sub.org> (Markus Armbruster's message of "Thu\, 18 Jun 2009 08\:29\:35 +0200") Sender: kvm-owner@vger.kernel.org List-ID: Markus Armbruster writes: > Even better: I can reproduce it with an unpatched upstream QEMU > (qemu.git commit cfde4bd9) like this: > > $ qemu foo.qcow2 -net nic -net nic -net nic -drive file=bar.img,if=virtio > > virtio-blk-pci ends up in slot 6. And: $ qemu foo.qcow2 -net nic,model=virtio -net nic,model=virtio -net nic,model=virtio -net nic,model=virtio chokes like this: Setting up hotplug. Creating block device nodes. Creating character device nodes. Loading virtio_pci module ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 virtio-pci 0000:00:03.0: PCI INT A -> Link[LNKC] -> GSI 11 (level, low) -> IRQ 11 ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10 virtio-pci 0000:00:04.0: PCI INT A -> Link[LNKD] -> GSI 10 (level, low) -> IRQ 10 ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11 virtio-pci 0000:00:05.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11 virtio-pci 0000:00:06.0: can't derive routing for PCI INT A virtio-pci 0000:00:06.0: PCI INT A: no GSI - using IRQ 9 virtio-pci 0000:00:07.0: can't derive routing for PCI INT A virtio-pci 0000:00:07.0: PCI INT A: no GSI - using IRQ 11 Loading virtio_blk module Boot completes, but none of the four NICs work (no /dev/eth*). If I use only two, they end up in "good" slots, and both work fine.