From: Joerg Roedel On AMD K8 processors the fxsave/fxrstor instructions do not save and restore the x87 error pointers FIP/FOP and FDP except the ES bit in the status word is set. This could lead to information leakage from host to guest and vice versa. This patch fixes this by setting the error pointers to defined values on FPU state switch in KVM. Signed-off-by: Joerg Roedel -- | AMD Saxony Limited Liability Company & Co. KG Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany System | Register Court Dresden: HRA 4896 Research | General Partner authorized to represent: Center | AMD Saxony LLC (Wilmington, Delaware, US) | General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy