Skip to contentSkip to conversation

x86/HVM: never retain emulated insn cache when exiting back to guest

PATCH Juergen Gross 1 participant 1 message Apr 20, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 8 lines · Jan Beulich

Commit 5fcb26e69e ("x86/HVM: don't retain emulated insn cache when exiting back to guest") didn't go quite far enough: The insn emulator may itself decide to return X86EMUL_RETRY (currently for certain CMPXCHG failures and AVX2 gather insns), in which case we'd also exit back to guest context. Tie the caching to whether we have an I/O completion pending, instead of x86_emulate()'s return value.

Juergen

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel