]> xenbits.xensource.com Git - xen.git/commit
x86emul: extend x86_insn_is_mem_write() coverage
authorJan Beulich <jbeulich@suse.com>
Tue, 5 May 2020 07:50:54 +0000 (09:50 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 5 May 2020 07:50:54 +0000 (09:50 +0200)
commitfc6fa977be54a24a1325e3f2d08b1b1dcb675f44
tree1c091fa083f25734cb00c0442eeebaaf48cb0456
parentfe36a173d110fd792f5e337e208a5ed714df1536
x86emul: extend x86_insn_is_mem_write() coverage

Several insns were missed when this function was first added. As far as
insns already supported by the emulator go - SMSW and {,V}STMXCSR were
wrongly considered r/o insns so far.

Insns like the VMX, SVM, or CET-SS ones, PTWRITE, or AMD's new SNP ones
are intentionally not covered just yet. VMPTRST is put there just to
complete the respective group.

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