KVM: Mask KVM_GET_SUPPORTED_CPUID data with Linux cpuid info
authorAvi Kivity <avi@redhat.com>
Tue, 9 Nov 2010 14:15:43 +0000 (16:15 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:29:17 +0000 (11:29 +0200)
commit945ee35e0764a834bc5bc5d572085d5b6409902a
treee2ecb853b8bca8a20261bd652fa71d05309da226
parent2a6b20b83d1d37db57a9c25d99dc78454ad0747b
KVM: Mask KVM_GET_SUPPORTED_CPUID data with Linux cpuid info

This allows Linux to mask cpuid bits if, for example, nx is enabled on only
some cpus.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c