From: Takashi Iwai Subject: Re: Wierd hack to sound/pci/intel8x0.c Date: Mon, 07 Nov 2011 11:45:18 +0100 Message-ID: References: <4EB69EDA.5000901@redhat.com> <4EB6B285.9050509@parallels.com> <4EB7A404.3070902@redhat.com> <4EB7AA6F.5000909@parallels.com> <4EB7B485.3090907@redhat.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 930F224133 for ; Mon, 7 Nov 2011 11:45:18 +0100 (CET) In-Reply-To: <4EB7B485.3090907@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Gerd Hoffmann Cc: "alsa-devel@alsa-project.org" , Konstantin Ozerkov , KVM list , Denis Lunev , qemu-devel , Avi Kivity , "Denis V. Lunev (openvz)" , Linus Torvalds List-Id: alsa-devel@alsa-project.org At Mon, 07 Nov 2011 11:35:49 +0100, Gerd Hoffmann wrote: > > Hi, > > > We discuss Intel ICH/AC'97 (snd-intel8x0) here, but I hope that PCI SSID > > is same. > > Hmm, it's not, the ac97 emulation doesn't use the default qemu subsystem > id for some reason. Here is the entry: > > [root@fedora ~]# lspci -vns6 > 00:06.0 0401: 8086:2415 (rev 01) > Subsystem: 8086:0000 > Physical Slot: 6 > Flags: bus master, medium devsel, latency 0, IRQ 10 > I/O ports at c000 [size=1K] > I/O ports at c400 [size=256] > Kernel driver in use: Intel ICH > Kernel modules: snd-intel8x0 > > I guess that should be fixed. 8086:0000 isn't valid anyway and I doubt > it serves any useful purpose other than avoiding a guest complaining > about the subsystem id being unset. Yeah, especially the value 0 looks pretty bad. > /me goes preparing a patch. Thanks! Takashi