All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org,
	Konstantin Ozerkov <kozerkov@parallels.com>,
	KVM list <kvm@vger.kernel.org>,
	"Denis V. Lunev" <den@parallels.com>,
	qemu-devel <qemu-devel@nongnu.org>, Avi Kivity <avi@redhat.com>,
	"Denis V. Lunev" <den@openvz.org>,
	Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: Wierd hack to sound/pci/intel8x0.c
Date: Mon, 07 Nov 2011 10:25:24 +0100	[thread overview]
Message-ID: <4EB7A404.3070902@redhat.com> (raw)
In-Reply-To: <s5h1utlky6i.wl%tiwai@suse.de>

  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

WARNING: multiple messages have this Message-ID (diff)
From: Gerd Hoffmann <kraxel@redhat.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org,
	Konstantin Ozerkov <kozerkov@parallels.com>,
	KVM list <kvm@vger.kernel.org>,
	"Denis V. Lunev" <den@parallels.com>,
	qemu-devel <qemu-devel@nongnu.org>, Avi Kivity <avi@redhat.com>,
	"Denis V. Lunev" <den@openvz.org>,
	Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [Qemu-devel] Wierd hack to sound/pci/intel8x0.c
Date: Mon, 07 Nov 2011 10:25:24 +0100	[thread overview]
Message-ID: <4EB7A404.3070902@redhat.com> (raw)
In-Reply-To: <s5h1utlky6i.wl%tiwai@suse.de>

  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

  reply	other threads:[~2011-11-07  9:25 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-06 14:51 Wierd hack to sound/pci/intel8x0.c Avi Kivity
2011-11-06 14:51 ` [Qemu-devel] " Avi Kivity
2011-11-06 16:15 ` Denis V. Lunev
2011-11-06 16:15   ` [Qemu-devel] " Denis V. Lunev
2011-11-06 16:15   ` Denis V. Lunev
2011-11-06 16:31   ` Avi Kivity
2011-11-06 16:31     ` [Qemu-devel] " Avi Kivity
2011-11-06 16:47     ` Takashi Iwai
2011-11-06 16:47       ` [Qemu-devel] " Takashi Iwai
2011-11-06 16:56       ` Denis V. Lunev
2011-11-06 16:56         ` [Qemu-devel] " Denis V. Lunev
2011-11-06 16:50     ` Denis V. Lunev
2011-11-06 16:50       ` [Qemu-devel] " Denis V. Lunev
2011-11-06 16:50       ` Denis V. Lunev
2011-11-06 16:33   ` Takashi Iwai
2011-11-06 16:33     ` [Qemu-devel] " Takashi Iwai
2011-11-06 16:33     ` Takashi Iwai
2011-11-07  9:25     ` Gerd Hoffmann [this message]
2011-11-07  9:25       ` [Qemu-devel] " Gerd Hoffmann
2011-11-07  9:52       ` Konstantin Ozerkov
2011-11-07  9:52         ` [Qemu-devel] " Konstantin Ozerkov
2011-11-07 10:35         ` Gerd Hoffmann
2011-11-07 10:35           ` [Qemu-devel] " Gerd Hoffmann
2011-11-07 10:45           ` Takashi Iwai
2011-11-07 10:45             ` [Qemu-devel] " Takashi Iwai
2011-11-07 10:45             ` Takashi Iwai
2011-11-07 10:44       ` Takashi Iwai
2011-11-07 10:44         ` [Qemu-devel] " Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EB7A404.3070902@redhat.com \
    --to=kraxel@redhat.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=avi@redhat.com \
    --cc=den@openvz.org \
    --cc=den@parallels.com \
    --cc=kozerkov@parallels.com \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    --cc=tiwai@suse.de \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.