From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XETK3-0000pH-Om for qemu-devel@nongnu.org; Mon, 04 Aug 2014 21:13:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XETJx-0000C1-EK for qemu-devel@nongnu.org; Mon, 04 Aug 2014 21:13:51 -0400 Received: from mx12.netapp.com ([216.240.18.77]:33882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XETJx-0000BS-8T for qemu-devel@nongnu.org; Mon, 04 Aug 2014 21:13:45 -0400 Received: from [10.55.14.11] (nishanks-mbp.wlan.netapp.com [10.55.14.11]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id s751DY1A007428 for ; Mon, 4 Aug 2014 18:13:35 -0700 (PDT) Message-ID: <53E02FBE.9010005@netapp.com> Date: Mon, 4 Aug 2014 18:13:34 -0700 From: Nishank Trivedi MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] host hangs with pci-passthrough of SAS adapter List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, I'm using QEMU (2.1.50) with Fedora 20 based host (3.15.6-200). While doing PCI-passthrough of PMC-Sierra 8001 SAS adapter, the *host* does a hard lockup even before guest kernel starts running. BIOS in use is SeaBIOS 1.7.5. Despite enabling various debugging options, I do not see any messages on the serial console. The device is detached from host driver and bound to pci-stub, followed by this command - qemu-system-x86_64 guest.img --enable-kvm -smp 14,sockets=2,cores=7,threads=1 -nographic -device pci-assign,host=b:d:f This device works fine with host, similarly other devices I have work fine with guest through pci-pt. Any pointers to debug further will be greatly appreciated. Thanks, nt