x86emul: suppress reads for unhandled 0f38/0f3a extension space insns
authorJan Beulich <jbeulich@suse.com>
Thu, 9 Mar 2017 16:42:55 +0000 (17:42 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 9 Mar 2017 16:42:55 +0000 (17:42 +0100)
commit5d99933e6e3e54da3c7291a0f4bf6c89685b4d24
tree4a23037b7ba2163357cd933522ac370ff29d3270
parent0de676d8e52d1995e551387642b00a2abf08b22d
x86emul: suppress reads for unhandled 0f38/0f3a extension space insns

The way these extension spaces get handled we so far always end up
going through the generic SrcMem operand fetch path for unused table
entries. Suppress actual memory accesses happening by forcing op_bytes
to zero in those cases.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c