From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNLST-0000rJ-Ad for qemu-devel@nongnu.org; Mon, 07 Nov 2011 04:25:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RNLSR-00020i-V1 for qemu-devel@nongnu.org; Mon, 07 Nov 2011 04:25:37 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36300) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNLSR-00020Y-O4 for qemu-devel@nongnu.org; Mon, 07 Nov 2011 04:25:35 -0500 Message-ID: <4EB7A404.3070902@redhat.com> Date: Mon, 07 Nov 2011 10:25:24 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <4EB69EDA.5000901@redhat.com> <4EB6B285.9050509@parallels.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Wierd hack to sound/pci/intel8x0.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Takashi Iwai Cc: alsa-devel@alsa-project.org, Konstantin Ozerkov , KVM list , "Denis V. Lunev" , qemu-devel , Avi Kivity , "Denis V. Lunev" , Linus Torvalds Hi, > Agreed. If we can know the virtual device for KVM in a better way > (e.g. any specific PCI SSID or such), we can narrow the condition more > safely. PCI Subsystem ID 1af4:1100 is qemu/kvm (not only Intel HDA, most other emulated pci devices have it too). Complete entry: 00:04.0 0403: 8086:2668 (rev 01) Subsystem: 1af4:1100 Physical Slot: 4 Flags: bus master, fast devsel, latency 0, IRQ 11 Memory at e2030000 (32-bit, non-prefetchable) [size=16K] Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel cheers, Gerd