From: Phil Daws Subject: KVM & PCI Passthrough Date: Wed, 4 Dec 2013 18:08:23 +0000 (GMT) Message-ID: <1894763452.20558413.1386180503817.JavaMail.zimbra@innovot.com> References: <1242916455.20551277.1386180154132.JavaMail.zimbra@innovot.com> Reply-To: Phil Daws Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from relay10out.redstationmail.co.uk ([149.3.130.202]:33880 "EHLO relay10out.redstationmail.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753945Ab3LDSS0 (ORCPT ); Wed, 4 Dec 2013 13:18:26 -0500 Received: from relay3in (relay3in.redstationmail.co.uk [109.73.64.3]) by relay10out.redstationmail.co.uk (Postfix) with ESMTP id F2A8A1E0C96 for ; Wed, 4 Dec 2013 18:04:12 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by mx.dc1.innovot.com (Postfix) with ESMTP id 161E01212C2 for ; Wed, 4 Dec 2013 18:06:24 +0000 (GMT) Received: from mx.dc1.innovot.com ([127.0.0.1]) by localhost (mx.dc1.innovot.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wUcOJg21cX5h for ; Wed, 4 Dec 2013 18:06:22 +0000 (GMT) In-Reply-To: <1242916455.20551277.1386180154132.JavaMail.zimbra@innovot.com> Sender: kvm-owner@vger.kernel.org List-ID: Hello all, as performing some tests in my lab with PCI pass-through and not really understanding it. Here is what I have done so far: lspci -nn: 06:00.0 RAID bus controller [0104]: LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator] [1000:0079] (rev 05) modprobe pci_stub echo "1000 0079" > /sys/bus/pci/drivers/pci-stub/new_id echo "0000:06:00.0" > /sys/bus/pci/devices/0000:00:1b.0/driver/unbind echo "0000:06:00.0" > /sys/bus/pci/drivers/pci-stub/bind I then create the new guest through virt-manager, add the PCI device, but when it tries to start the install it fails straight away. I have checked then IOMMU is enabled: dmesg | grep IOMMU [ 0.000000] Intel-IOMMU: enabled am running a Intel i7 4440k on a ASUS Z87-K Mobo with virtualization all enabled. Any help would appreciated as wish to test http://www.osnexus.com/storage-appliance-os/ under KVM with a RAID card directly associated to the guest. Thanks.