From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEQVc-0003BS-TW for qemu-devel@nongnu.org; Mon, 04 Aug 2014 18:13:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEQVW-0000th-A8 for qemu-devel@nongnu.org; Mon, 04 Aug 2014 18:13:36 -0400 Received: from mx11.netapp.com ([216.240.18.76]:7926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEQVW-0000rh-41 for qemu-devel@nongnu.org; Mon, 04 Aug 2014 18:13:30 -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 s74MDO8U000072 for ; Mon, 4 Aug 2014 15:13:24 -0700 (PDT) Message-ID: <53E00584.2010101@netapp.com> Date: Mon, 4 Aug 2014 15:13:24 -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