Re: [Xen-devel] [PATCH 2/3] x86/HVM: limit writes to outgoing TSS during task switch

2016-11-23 Thread Jan Beulich
>>> On 22.11.16 at 17:46, wrote: > On 22/11/16 13:55, Jan Beulich wrote: >> The only fields modified are EIP, EFLAGS, GPRs, and segment selectors. >> CR3 in particular is not supposed to be updated. >> >> Signed-off-by: Jan Beulich >> >> --- a/xen/arch/x86/hvm/hvm.c >> +++ b/xen/arch/x86/hvm/hvm.

Re: [Xen-devel] [PATCH 2/3] x86/HVM: limit writes to outgoing TSS during task switch

2016-11-22 Thread Andrew Cooper
On 22/11/16 13:55, Jan Beulich wrote: > The only fields modified are EIP, EFLAGS, GPRs, and segment selectors. > CR3 in particular is not supposed to be updated. > > Signed-off-by: Jan Beulich > > --- a/xen/arch/x86/hvm/hvm.c > +++ b/xen/arch/x86/hvm/hvm.c > @@ -2952,7 +2952,6 @@ void hvm_task_swi

[Xen-devel] [PATCH 2/3] x86/HVM: limit writes to outgoing TSS during task switch

2016-11-22 Thread Jan Beulich
The only fields modified are EIP, EFLAGS, GPRs, and segment selectors. CR3 in particular is not supposed to be updated. Signed-off-by: Jan Beulich --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -2952,7 +2952,6 @@ void hvm_task_switch( if ( taskswitch_reason == TSW_iret )