Re: [PATCH 02/12] plugins: add inline operation per vcpu

2024-01-11 Thread Richard Henderson
On 1/12/24 01:23, Pierrick Bouvier wrote: Extends API with three new functions: qemu_plugin_register_vcpu_{tb, insn, mem}_exec_inline_per_vcpu(). Compared to non per_vcpu versions, ptr is now a base, and current cpu_index and an offset are used to compute memory location on which operation happe

[PATCH 02/12] plugins: add inline operation per vcpu

2024-01-11 Thread Pierrick Bouvier
Extends API with three new functions: qemu_plugin_register_vcpu_{tb, insn, mem}_exec_inline_per_vcpu(). Compared to non per_vcpu versions, ptr is now a base, and current cpu_index and an offset are used to compute memory location on which operation happens (ptr + cpu_index * offset). This allows