public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: kvm@vger.kernel.org, hch@lst.de
Subject: Re: virtio-blk-pci chokes on some PCI slots
Date: Thu, 18 Jun 2009 13:55:27 +0200	[thread overview]
Message-ID: <87skhxwyc0.fsf@pike.pond.sub.org> (raw)
In-Reply-To: <87skhy12cw.fsf@pike.pond.sub.org> (Markus Armbruster's message of "Thu\, 18 Jun 2009 08\:29\:35 +0200")

Markus Armbruster <armbru@redhat.com> 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.

  reply	other threads:[~2009-06-18 11:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-16 16:47 virtio-blk-pci chokes on some PCI slots Markus Armbruster
2009-06-16 17:31 ` Marcelo Tosatti
2009-06-18  6:29   ` Markus Armbruster
2009-06-18 11:55     ` Markus Armbruster [this message]
2009-06-17  7:30 ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87skhxwyc0.fsf@pike.pond.sub.org \
    --to=armbru@redhat.com \
    --cc=hch@lst.de \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox