Re: [Xen-devel] [PATCH] x86/HVM: memset CPU context save area

2016-01-19 Thread Andrew Cooper
On 19/01/16 17:42, Roger Pau Monne wrote: > In order to prevent leaking data in the padding field. Also remove the > memset done to the fpu_regs in case of no FPU context present, since it's > already taken care by the memset of the whole CPU context structure. The > same applies to setting ctxt.fl

Re: [Xen-devel] [PATCH] x86/HVM: memset CPU context save area

2016-01-19 Thread Roger Pau Monné
El 19/01/16 a les 18.42, Roger Pau Monne ha escrit: > In order to prevent leaking data in the padding field. Also remove the > memset done to the fpu_regs in case of no FPU context present, since it's > already taken care by the memset of the whole CPU context structure. The > same applies to setti

[Xen-devel] [PATCH] x86/HVM: memset CPU context save area

2016-01-19 Thread Roger Pau Monne
In order to prevent leaking data in the padding field. Also remove the memset done to the fpu_regs in case of no FPU context present, since it's already taken care by the memset of the whole CPU context structure. The same applies to setting ctxt.flags to 0 in case there's no FPU context. Signed-o