Re: [Xen-devel] [V8 3/4] x86/xsaves: enable xsaves/xrstors for hvm guest

2015-10-26 Thread Jan Beulich
>>> On 23.10.15 at 11:48, wrote: > --- a/xen/arch/x86/xstate.c > +++ b/xen/arch/x86/xstate.c > @@ -23,8 +23,8 @@ static u32 __read_mostly xsave_cntxt_size; > > /* A 64-bit bitmask of the XSAVE/XRSTOR features supported by processor. */ > u64 __read_mostly

[Xen-devel] [V8 3/4] x86/xsaves: enable xsaves/xrstors for hvm guest

2015-10-23 Thread Shuai Ruan
This patch enables xsaves for hvm guest, includes: 1.handle xsaves vmcs init and vmexit. 2.add logic to write/read the XSS msr. Signed-off-by: Shuai Ruan Reviewed-by: Andrew Cooper --- xen/arch/x86/hvm/hvm.c | 27