KVM: x86: Add callback to let modules decide over some supported cpuid bits
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 22 Apr 2010 10:33:11 +0000 (12:33 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:19:23 +0000 (12:19 +0300)
commitd4330ef2fb2236a1e3a176f0f68360f4c0a8661b
tree5b5c8776dd370fc2c12a57c5ed4565f59ecb45a6
parent228070b1b31abc16c331b57bf965101c6eb1d167
KVM: x86: Add callback to let modules decide over some supported cpuid bits

This patch adds the get_supported_cpuid callback to
kvm_x86_ops. It will be used in do_cpuid_ent to delegate the
decission about some supported cpuid bits to the
architecture modules.

Cc: stable@kernel.org
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c