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)
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

Simple merge
Simple merge