KVM: Add FFXSR support
authorAlexander Graf <agraf@suse.de>
Mon, 2 Feb 2009 15:23:51 +0000 (16:23 +0100)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:03:08 +0000 (11:03 +0200)
commit1b2fd70c4eddef53f32639296818c0253e7ca48d
tree4ab2254a7a93f75793b69c7a012a4d3556983b44
parentd20626936dd6aa783760e780dae5abb127564316
KVM: Add FFXSR support

AMD K10 CPUs implement the FFXSR feature that gets enabled using
EFER. Let's check if the virtual CPU description includes that
CPUID feature bit and allow enabling it then.

This is required for Windows Server 2008 in Hyper-V mode.

v2 adds CPUID capability exposure

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c
arch/x86/kvm/x86.c