Re: [Xen-devel] [PATCH v2 13/16] x86emul: support XSETBV

2016-09-30 Thread Jan Beulich
>>> On 29.09.16 at 22:45, wrote: > On 28/09/16 09:17, Jan Beulich wrote: >> This is a prereq for switching PV privileged op emulation to the >> generic instruction emulator. Since handle_xsetbv() is already capable >> of dealing with all guest kinds, avoid introducing another hook here. >> >> Sign

Re: [Xen-devel] [PATCH v2 13/16] x86emul: support XSETBV

2016-09-29 Thread Andrew Cooper
On 28/09/16 09:17, Jan Beulich wrote: > This is a prereq for switching PV privileged op emulation to the > generic instruction emulator. Since handle_xsetbv() is already capable > of dealing with all guest kinds, avoid introducing another hook here. > > Signed-off-by: Jan Beulich Reviewed-by: And

[Xen-devel] [PATCH v2 13/16] x86emul: support XSETBV

2016-09-28 Thread Jan Beulich
This is a prereq for switching PV privileged op emulation to the generic instruction emulator. Since handle_xsetbv() is already capable of dealing with all guest kinds, avoid introducing another hook here. Signed-off-by: Jan Beulich --- v2: Explicitly generate #UD when vex.pfx is non-zero. --- a