From: Derek Piper Subject: PCI passthrough fail with Intel 82574L Date: Tue, 29 Apr 2014 09:11:45 -0400 Message-ID: <201404290911.45237.dcpiper@indiana.edu> Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "kvm@vger.kernel.org" Return-path: Received: from belushi.uits.indiana.edu ([129.79.1.188]:21167 "EHLO hartman.uits.indiana.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932929AbaD2NMJ (ORCPT ); Tue, 29 Apr 2014 09:12:09 -0400 Received: from hartman.uits.indiana.edu (belushi.uits.indiana.edu [129.79.1.188]) by mssg-relay.indiana.edu (8.14.7/8.14.4/IU Messaging Team) with ESMTP id s3TDC79s002663 for ; Tue, 29 Apr 2014 09:12:08 -0400 Received: from bl-chem-iumsc40.localnet (bl-chem-iumsc40.chem.indiana.edu [129.79.85.40]) (authenticated bits=0) by mail-relay.iu.edu (8.14.7/8.14.4/IU Messaging Team) with ESMTP id s3TDBjQ8027348 for ; Tue, 29 Apr 2014 09:11:45 -0400 Sender: kvm-owner@vger.kernel.org List-ID: Hi, I am unable to get PCI passthrough to work on my Opteron system. I keep getting an 'adapter reset' within the VM that has the PCI ethernet assigned to it. It is running 2 x 6 core Opterons on a SuperMicro H8DCL motherboard that has 2 Intel 82574L network interfaces on it. Host's lspci (relevant card): 02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection 03:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection Both host and VM are running Debian 7 (Wheezy). I have the latest qemu-kvm from debian backports (1.7.0). I am running the virtual hosts via virt-manager and assigning the PCI express ethernet card at 03:00.0. There is no configuration on the host for that ethernet card, only the first one (02:00.0) is in use. I have enabled the options kvm allow_unsafe_assigned_interrupts=1 When running the VM with the PCI express adapter assigned to it, and configured for the network it is connected to, it does not work. I simply get the 'adapter reset' message again and again. The host shows the device being claimed by pci-stub as it gets assigned to the guest and getting the IRQs. On the guest there is a stack trace and also adapter resets. I am hoping to run a number of different virtual machines off of this host. Due to network policies in place (no devices in promiscuous mode get routed) I cannot simply place the host's interface to be shared with different IPs, so must do one physical ethernet interface each. Any help would be greatly appreciated. Thanks, Derek -- Derek Piper - dcpiper@indiana.edu - (812) 855 5560 System Administrator / Informatics Specialist Molecular Structure Center (IUMSC), Chemistry Indiana University, Bloomington, Indiana http://www.iumsc.indiana.edu/