From: Michael J Coss <mjcoss@alcatel-lucent.com>
To: kvm@vger.kernel.org
Subject: KVM problems with Vt-d and wireless adapter
Date: Wed, 12 Aug 2009 08:47:10 -0400 [thread overview]
Message-ID: <4A82B9CE.9050309@alcatel-lucent.com> (raw)
I'm exploring the use of Vt-d with KVM. I'm running the following setup
Processor: Intel Core2 Duo P8600
KVM version: 88-r1
Host : Gentoo 32 bit, 2.6.30-r4
Architecture: i386
Guest VM: CentOS 5.3, 32 bit, 2.6.18-128 kernel
Command: kvm -hda vdisk.img -boot c -m 384 -net nic -net user
-pcidevice host=03:00.0
I'm trying to pass through to the VM, the Intel 5100 wireless adapter.
I have ensured that
a) the BIOS has Vt-d enabled
b) the Gentoo kernel was compiled with IOMMU features enabled
c) the driver module for the iwlagn is blacklisted on the host
and d) I run a script to unbind the device and bind it into pci-stub
based on the HOWTO assign device with Vt-d in KVM
If I run the above command, I get 2 sets of error messages
assign_irq: deassign: Invalid argument
assign_irq: deassign: Invalid argument
assign_irq: deassign: Invalid argument
assigned_dev_update_msi: deassign irq: Invalid argument
assigned_dev_update_msi: deassign irq: Invalid argument
assigned_dev_update_msi: deassign irq: Invalid argument
assigned_dev_update_msi: deassign irq: Invalid argument
assigned_dev_update_msi: deassign irq: Invalid argument
If I add the -no-kvm-irqchip switch, then the assign_irq: deassign:
Invalid argument messages go away. On the guest I get messages from the
iwlagn module that it attempted to write the nicrocode to the device.
Each time it fails, and it just happens to try 5 times. On the host,
depending on options I get errors like:
irq 17: nobody cared (try booting with the irqpoll option) <-- tried
this but nothing changed
followed by a call trace
then a message that it is disabling IRQ 17
Any thoughts as to what I'm missing? More information needed?
---Michael J Coss
reply other threads:[~2009-08-12 13:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4A82B9CE.9050309@alcatel-lucent.com \
--to=mjcoss@alcatel-lucent.com \
--cc=kvm@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.