Re: [PATCH] x86/fpu: Fix get_xsave_addr which returns error pointer to KVM

2015-11-10 Thread Dave Hansen
On 11/06/2015 01:00 AM, Huaitong Han wrote: > when KVM uses the get_xsave_addr, xsave parameter belongs to guest vcpu, if > xsave is replaced with current task (host) xsave, get_xsave_addr will return > error > xsave addr to KVM. > > Signed-off-by: Huaitong Han Looks good to me. It was

Re: [PATCH] x86/fpu: Fix get_xsave_addr which returns error pointer to KVM

2015-11-10 Thread Dave Hansen
On 11/06/2015 01:00 AM, Huaitong Han wrote: > when KVM uses the get_xsave_addr, xsave parameter belongs to guest vcpu, if > xsave is replaced with current task (host) xsave, get_xsave_addr will return > error > xsave addr to KVM. > > Signed-off-by: Huaitong Han Looks

[PATCH] x86/fpu: Fix get_xsave_addr which returns error pointer to KVM

2015-11-06 Thread Huaitong Han
when KVM uses the get_xsave_addr, xsave parameter belongs to guest vcpu, if xsave is replaced with current task (host) xsave, get_xsave_addr will return error xsave addr to KVM. Signed-off-by: Huaitong Han --- arch/x86/kernel/fpu/xstate.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH] x86/fpu: Fix get_xsave_addr which returns error pointer to KVM

2015-11-06 Thread Huaitong Han
when KVM uses the get_xsave_addr, xsave parameter belongs to guest vcpu, if xsave is replaced with current task (host) xsave, get_xsave_addr will return error xsave addr to KVM. Signed-off-by: Huaitong Han --- arch/x86/kernel/fpu/xstate.c | 1 - 1 file changed, 1