KVM: Fix OSXSAVE after migration
authorSheng Yang <sheng@linux.intel.com>
Wed, 8 Dec 2010 02:49:43 +0000 (10:49 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 7 Jan 2011 21:58:47 +0000 (13:58 -0800)
commitb6346defbc8afe642fb76736b7f59bb1fc6cc0a4
treee7edf23f88c535f91b7e1874292880b81aa9f2bc
parent918a0ca6d40a07fb7d11ac7b9e1033677e0b318b
KVM: Fix OSXSAVE after migration

commit 3ea3aa8cf67d3bbe00a19b6a4013d19efa7d0f41 upstream.

CPUID's OSXSAVE is a mirror of CR4.OSXSAVE bit. We need to update the CPUID
after migration.

KVM-Stable-Tag.
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kvm/x86.c