Hi Jan,
Thank you for the insight. That explains a lot of the repeated cached
instruction fetching.
This might belong to another thread, I was exploring xentrace, ran it with
"sudo xentrace output", but it returns the message of "ERROR: Failed to map
cpu buffer! (13 = Permission denied)", even run
>>> On 05.01.18 at 04:17, wrote:
> I am trying to modify Xen 4.8 to have it print out the opcode as well as
> some registers of an HVM domU as it runs. I tried to modify
> xen/arch/x86/hvm/emulate.c 's hvmemul_insn_fetch to output the content in
> hvmemul_ctxt->insn_buf with printk. In hvmemul_ins
Greeting,
I am trying to modify Xen 4.8 to have it print out the opcode as well as
some registers of an HVM domU as it runs. I tried to modify
xen/arch/x86/hvm/emulate.c 's hvmemul_insn_fetch to output the content in
hvmemul_ctxt->insn_buf with printk. In hvmemul_insn_fetch, it seems that a
lot of