From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDc7l-0004G8-Vn for qemu-devel@nongnu.org; Thu, 07 Mar 2013 09:48:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDc7k-0001NU-Gb for qemu-devel@nongnu.org; Thu, 07 Mar 2013 09:48:49 -0500 Received: from cantor2.suse.de ([195.135.220.15]:39454 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDc7k-0001Cx-Ap for qemu-devel@nongnu.org; Thu, 07 Mar 2013 09:48:48 -0500 Message-ID: <5138A8A5.1020706@suse.de> Date: Thu, 07 Mar 2013 15:48:05 +0100 From: Hannes Reinecke MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Windows doesn't like MSI/MSI-X List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "qemu-devel@nongnu.org" Cc: Alexander Graf , "Michael S. Tsirkin" Hi all, recently I've tried to teach megasas MSI/MSI-X. While it works=20 perfectly under Linux, Windows refuses to. With really strange symptoms: Windows Vista will BSOD when both MSI/MSI-X registers are present,=20 and Windows 7 will hang as Windows (apparently) thinks MSI/MSI-X is=20 enabled, whereas qemu doesn't and uses INTx. So the Windows 7 guest will never see any interrupts. The _really_ odd thing is that when I remove the MSI-X capability=20 Windows will fall back to INTx and everything works. Even more curious is that from the logs Windows will only ever write=20 zeros into the MSI/MSI-X config registers. Which makes me wonder what's going on there. As I'm not sure if that's my fault I was wondering if anybody every=20 succeeded in getting AHCI to use MSI under Windows. Any pointers? Cheers, Hannes --=20 Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg GF: J. Hawn, J. Guild, F. Imend=F6rffer, HRB 16746 (AG N=FCrnberg)