From: Suresh Siddha Date: Fri, 24 Aug 2012 21:12:59 +0000 (-0700) Subject: x86, kvm: use kernel_fpu_begin/end() in kvm_load/put_guest_fpu() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~86^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c1c3fac53378c9782c18f80107965578d7b7167;p=pandora-kernel.git x86, kvm: use kernel_fpu_begin/end() in kvm_load/put_guest_fpu() kvm's guest fpu save/restore should be wrapped around kernel_fpu_begin/end(). This will avoid for example taking a DNA in kvm_load_guest_fpu() when it tries to load the fpu immediately after doing unlazy_fpu() on the host side. More importantly this will prevent the host process fpu from being corrupted. Signed-off-by: Suresh Siddha Link: http://lkml.kernel.org/r/1345842782-24175-4-git-send-email-suresh.b.siddha@intel.com Cc: Avi Kivity Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed