This very quickly turned into a rats nest. I don't have time to fix %cr8 handling, so stay with a stopgap mitigation for introspection puporses, and leave some notes for later.
Andrew Cooper (2):
x86/hvm: Rearrange the logic in hvmemul_{read,write}_cr()
x86/emul: Emulate %cr8 accesses
xen/arch/x86/hvm/emulate.c | 39 ++++++++++++++++++++++------
xen/arch/x86/include/asm/x86-defns.h | 2 ++
2 files changed, 33 insertions(+), 8 deletions(-)
--
2.39.5
