From: Yushu Yao Subject: VT-d passing a Raid Controller in KVM Date: Thu, 29 Apr 2010 23:13:01 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from lo.gmane.org ([80.91.229.12]:49035 "EHLO lo.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933781Ab0D3S1i (ORCPT ); Fri, 30 Apr 2010 14:27:38 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O7cwg-0006tM-Ig for kvm@vger.kernel.org; Fri, 30 Apr 2010 01:15:03 +0200 Received: from apple-0-1b-63-a9-74-4f.dhcp.lbl.gov ([128.3.2.217]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Apr 2010 01:15:02 +0200 Received: from yao.yushu by apple-0-1b-63-a9-74-4f.dhcp.lbl.gov with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Apr 2010 01:15:02 +0200 Sender: kvm-owner@vger.kernel.org List-ID: Hi Experts, I have successfully used VD-t pci passthrough for PCI-E based NICs in KVM. I'm trying to pass a PCI-E x8 MegaRaid 9240 SAS raid card to a KVM guest. However, the device driver in the guest can't initialize the Card. It seems that the driver is trying to RESET the card, however, the card is not in a state that can be reset (maybe because the host driver already done that?) after some waiting the guest driver put the device into DEAD. Need to restart the host to wake it up. I'm just wondering can these kind of devices be passed to the guest? Also, at the boot of the host, there is a POST screen showing that the MegaRaid card is looking for drives, etc. Naively thinking, should we see the same post screen in the GUEST? Thank a lot! -Yushu