Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1266833
| From | Dave Hansen <dave.hansen@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] x86/fpu: Fix get_xsave_addr which returns error pointer to KVM |
| Date | 2015-11-10 23:50 +0100 |
| Message-ID | <qtpTH-2Jl-19@gated-at.bofh.it> (permalink) |
| References | <qrLbY-2xT-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 <huaitong.han@intel.com> Looks good to me. It was completely bogus that we passed 'xsave' in there and then just wrote over it. Reviewed-by: Dave Hansen <dave.hansen@linux.intel.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] x86/fpu: Fix get_xsave_addr which returns error pointer to KVM Huaitong Han <huaitong.han@intel.com> - 2015-11-06 10:10 +0100 Re: [PATCH] x86/fpu: Fix get_xsave_addr which returns error pointer to KVM Dave Hansen <dave.hansen@intel.com> - 2015-11-10 23:50 +0100 [tip:x86/urgent] x86/fpu: Fix get_xsave_addr() behavior under virtualization tip-bot for Huaitong Han <tipbot@zytor.com> - 2015-11-12 14:30 +0100
csiph-web