From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9QZd-00017y-5V for qemu-devel@nongnu.org; Thu, 08 Jan 2015 22:49:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y9QZY-0000bp-01 for qemu-devel@nongnu.org; Thu, 08 Jan 2015 22:49:20 -0500 Received: from szxga03-in.huawei.com ([119.145.14.66]:22836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9QZX-0000bU-EC for qemu-devel@nongnu.org; Thu, 08 Jan 2015 22:49:15 -0500 Message-ID: <54AF4FA1.6020009@huawei.com> Date: Fri, 9 Jan 2015 11:48:49 +0800 From: "Wangting (Kathy)" MIME-Version: 1.0 References: <54AE4253.2090206@huawei.com> <54AE4295.7040109@huawei.com> <1420707684.4185.3.camel@oscar> <54AE4D7D.5040407@huawei.com> <1420711418.4185.13.camel@oscar> In-Reply-To: <1420711418.4185.13.camel@oscar> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Fwd: [question] About MSI for vioscsi List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vadim Rozenfeld Cc: qemu-devel On 2015-1-8 18:03, Vadim Rozenfeld wrote: > On Thu, 2015-01-08 at 17:27 +0800, Wangting (Kathy) wrote: >> >> On 2015-1-8 17:01, Vadim Rozenfeld wrote: >>> On Thu, 2015-01-08 at 16:40 +0800, Wangting (Kathy) wrote: >>>> Hi Vadim, >>>> >>>> In order to enable MSI for vioscsi in virtio-win-0.1-74, I try to merge >>>> >>>> the patch about Bug 1077566 into it, but I find that MSI still doesn't work, >>>> >>>> because the value of IRQ is not negative in the device manager. >>>> >>>> I try to trace the I/O path with ENABLE_COM_DEBUG, and I find that >>>> >>>> pMsixCapOffset->MessageControl.MSIXEnable is zero when >>>> >>>> StorPortGetBusData returned in VioScsiFindAdapter, so MSI can't be enabled. >>>> >>>> I have tested that MSI is successfully enabled in virtio-win-0.1-81. >>>> >>>> But I still want to find out why the patch is not work in virtio-win-0.1-74. >>>> >>>> Is there some important points I missed? >>> >>> Did you enable MSISupported in inf file? >>> >>> Cheers, >>> Vadim. >>> >> Where is the inf file? Do you mean qemupciserial.inf? > > vioscsi.inx in the source directory. After stamping, > it will be copied into vioscsi.inf, as part of build > process. > > Sorry, I forget to update vioscsi.inf after compiling. The patch is OK. Thanks. Ting >>>> >>>> Thank you very much. >>>> >>>> Best wishes, >>>> >>>> Ting Wang >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> >> >> > > > >