Re: snd_intel8x0_inside_vm()

2014-02-18 Thread Takashi Iwai
At Tue, 18 Feb 2014 19:48:11 -0800, H. Peter Anvin wrote: > > 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

Re: snd_intel8x0_inside_vm()

2014-02-18 Thread Takashi Iwai
At Tue, 18 Feb 2014 19:48:11 -0800, H. Peter Anvin wrote: 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