Re: [PATCH 37/40] plugins: add an API to read registers

2023-12-22 Thread Akihiko Odaki
On 2023/12/22 22:45, Alex Bennée wrote: Akihiko Odaki writes: On 2023/12/21 19:38, Alex Bennée wrote: We can only request a list of registers once the vCPU has been initialised so the user needs to use either call the get function on vCPU initialisation or during the translation phase. We don

Re: [PATCH 37/40] plugins: add an API to read registers

2023-12-22 Thread Alex Bennée
Akihiko Odaki writes: > On 2023/12/21 19:38, Alex Bennée wrote: >> We can only request a list of registers once the vCPU has been >> initialised so the user needs to use either call the get function on >> vCPU initialisation or during the translation phase. >> We don't expose the reg number to th

Re: [PATCH 37/40] plugins: add an API to read registers

2023-12-21 Thread Akihiko Odaki
On 2023/12/21 19:38, Alex Bennée wrote: We can only request a list of registers once the vCPU has been initialised so the user needs to use either call the get function on vCPU initialisation or during the translation phase. We don't expose the reg number to the plugin instead hiding it behind a

[PATCH 37/40] plugins: add an API to read registers

2023-12-21 Thread Alex Bennée
We can only request a list of registers once the vCPU has been initialised so the user needs to use either call the get function on vCPU initialisation or during the translation phase. We don't expose the reg number to the plugin instead hiding it behind an opaque handle. This allows for a bit of