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 >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> >> >> > > > >