From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Cran Subject: Problems using vfio pcie passthrough (pci-assign works) Date: Thu, 02 Oct 2014 07:39:48 -0600 Message-ID: <542D55A4.6000005@cran.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from muon.bluestop.org ([204.109.60.166]:45089 "EHLO muon.cran.org.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752569AbaJBNqy (ORCPT ); Thu, 2 Oct 2014 09:46:54 -0400 Received: from [10.0.10.100] (c-67-182-239-81.hsd1.ut.comcast.net [67.182.239.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 9403D1D6444 for ; Thu, 2 Oct 2014 07:39:49 -0600 (MDT) Sender: kvm-owner@vger.kernel.org List-ID: I have a PCIe card that's behind an Intel E3-1200 PCIe x16 controller bridge that I want to use in VMs: it works when using the pci-assign driver, but something goes wrong when trying to use vfio-pci - my driver in the guest gets so far through loading before failing to talk to the hardware, so I guess something's not being setup correctly. I'm wondering if this is a bug (do vfio and OVMF work together?) or a problem with the way I'm setting up vfio-pci. I'm using the script from http://www.linux-kvm.org/wiki/images/b/b4/2012-forum-VFIO.pdf page 30 to assign the card, but I know it's a fairly old document, and I'm running kernel 3.11 on openSUSE: is it still correct? Or should I not try to use vfio-pci for now? -- Bruce Cran