Kernel KVM virtualization development
 help / color / mirror / Atom feed
From: Dana Goyette <DanaGoyette@gmail.com>
To: kvm@vger.kernel.org
Subject: genirq: Flags mismatch irq 17. 00000000 (vfio-intx(0000:07:04.0)) vs. 00000000 (vfio-intx(0000:01:00.1))
Date: Fri, 10 Jan 2014 08:23:16 -0800	[thread overview]
Message-ID: <lap6p9$r2f$1@ger.gmane.org> (raw)

I'm using the SuperMicro X10SAT, kernel 3.13-rc5, with ACS override on 
Intel root ports.

I'm trying to pass several devices to the same guest:

01:00.0 -- [1002:68be] Radeon HD 5750
01:00.1 -- [1002:aa58] HDMI Audio (not really needed)
07:04.0 -- [13f6:8788] Xonar D1/DX sound card, behind PEX8112
09:00.0 -- [1912:0014] Renesas uPD720201 (USB 3.0)

When trying to start qemu with various combinations of those devices:
vfio: Error: Failed to setup INTx fd: Device or resource busy

Sound card conflicts with HDMI audio:
genirq: Flags mismatch irq 17.
00000000 (vfio-intx(0000:07:04.0)) vs.
00000000 (vfio-intx(0000:01:00.1))

USB controller conflicts with video card:
genirq: Flags mismatch irq 16.
00000000 (vfio-intx(0000:09:00.0)) vs.
00000000 (vfio-intx(0000:01:00.0))

On the ArchLinux forums, I was told that this means each device wants 
the interrupt line to itself.

Oddly, the host locks up if I launch Xorg with 'radeon' and 
'snd-virtuoso' both loaded.  (Primary video is the Intel graphics.)

These devices all work fine together using pci-assign, but pci-assign 
requires ejecting the Radeon before VM shutdown.

VFIO allows me to start the VM if I forward only the sound card and the 
video card, but I really need the USB controller, as well.

What can I do to forward those three devices via VFIO?


             reply	other threads:[~2014-01-10 16:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-10 16:23 Dana Goyette [this message]
2014-01-10 17:33 ` genirq: Flags mismatch irq 17. 00000000 (vfio-intx(0000:07:04.0)) vs. 00000000 (vfio-intx(0000:01:00.1)) Alex Williamson
2014-01-10 20:18   ` Dana Goyette
2014-01-10 21:12     ` Alex Williamson
2014-01-10 22:45       ` Dana Goyette

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='lap6p9$r2f$1@ger.gmane.org' \
    --to=danagoyette@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox