From: "H. Peter Anvin" <hpa@zytor.com>
To: Konstantin Ozerkov <kozerkov@parallels.com>,
"Denis V. Lunev" <den@openvz.org>, Takashi Iwai <tiwai@suse.de>,
Jaroslav Kysela <perex@perex.cz>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
alsa-devel@alsa-project.org
Subject: snd_intel8x0_inside_vm()
Date: Tue, 18 Feb 2014 19:48:11 -0800 [thread overview]
Message-ID: <5304297B.8050201@zytor.com> (raw)
I just stumbled upon the function snd_intel8x0_inside_vm(), and quite
frankly the code seems bizarre:
/* detect KVM and Parallels virtual environments */
result = kvm_para_available();
#ifdef X86_FEATURE_HYPERVISOR
result = result || boot_cpu_has(X86_FEATURE_HYPERVISOR);
#endif
if (!result)
goto fini;
Why don't we simply rely on the PCI SSIDs?
-hpa
next reply other threads:[~2014-02-19 3:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-19 3:48 H. Peter Anvin [this message]
2014-02-19 7:09 ` snd_intel8x0_inside_vm() 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=5304297B.8050201@zytor.com \
--to=hpa@zytor.com \
--cc=alsa-devel@alsa-project.org \
--cc=den@openvz.org \
--cc=kozerkov@parallels.com \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.de \
/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.