Re: [Xen-devel] [PATCH v2 14/17] x86emul: abstract out XCRn accesses

2017-09-18 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of Jan > Beulich > Sent: 14 September 2017 16:20 > To: xen-devel > Cc: George Dunlap ; Andrew Cooper > > Subject: [Xen-devel] [PATCH v2 14/17] x86emul: abstract out XCRn

Re: [Xen-devel] [PATCH v2 14/17] x86emul: abstract out XCRn accesses

2017-09-14 Thread Jan Beulich
>>> On 14.09.17 at 17:20, wrote: > Use hooks, just like done for other special purpose registers. > > This includes moving XCR0 checks from hvmemul_get_fpu() to the emulator > itself as well as adding support for XGETBV emulation. > > For now fuzzer reads will obtain the real values (minus the f

[Xen-devel] [PATCH v2 14/17] x86emul: abstract out XCRn accesses

2017-09-14 Thread Jan Beulich
Use hooks, just like done for other special purpose registers. This includes moving XCR0 checks from hvmemul_get_fpu() to the emulator itself as well as adding support for XGETBV emulation. For now fuzzer reads will obtain the real values (minus the fuzzing of the hook pointer itself). Signed-of