Re: [RFC PATCH 1/1] QEMU plugin interface extension

2021-09-15 Thread Alex Bennée
Florian Hauschild writes: > This extension covers functions: > * to read and write guest memory > * to read and write guest registers > * to flush tb cache > * to control single stepping of qemu from plugin Next time please split the functionality into separate patches to aid review.

Re: [RFC PATCH 1/1] QEMU plugin interface extension

2021-08-26 Thread Peter Maydell
On Thu, 26 Aug 2021 at 15:12, Florian Hauschild wrote: > Form my observation all three insn_cb would see x0 == 2. They are > executed at the end of a tb execution. The documentation for the insn_exec_cb says the cb is called every time an instruction is executed. That won't always be at the end o

Re: [RFC PATCH 1/1] QEMU plugin interface extension

2021-08-26 Thread Florian Hauschild
Am 24.08.21 um 16:47 schrieb Peter Maydell: > On Tue, 24 Aug 2021 at 15:34, Florian Hauschild > wrote: >> >> >> >> Am 21.08.21 um 15:18 schrieb Peter Maydell: >>> On Sat, 21 Aug 2021 at 10:48, Florian Hauschild >>> wrote: This extension covers functions: * to read and write gu

Re: [RFC PATCH 1/1] QEMU plugin interface extension

2021-08-24 Thread Peter Maydell
On Tue, 24 Aug 2021 at 15:34, Florian Hauschild wrote: > > > > Am 21.08.21 um 15:18 schrieb Peter Maydell: > > On Sat, 21 Aug 2021 at 10:48, Florian Hauschild > > wrote: > >> > >> This extension covers functions: > >> * to read and write guest memory > >> * to read and write guest registers >

Re: [RFC PATCH 1/1] QEMU plugin interface extension

2021-08-24 Thread Florian Hauschild
Am 21.08.21 um 15:18 schrieb Peter Maydell: > On Sat, 21 Aug 2021 at 10:48, Florian Hauschild > wrote: >> >> This extension covers functions: >> * to read and write guest memory >> * to read and write guest registers >> * to flush tb cache >> * to control single stepping of qemu from pl

Re: [RFC PATCH 1/1] QEMU plugin interface extension

2021-08-21 Thread Peter Maydell
On Sat, 21 Aug 2021 at 10:48, Florian Hauschild wrote: > > This extension covers functions: > * to read and write guest memory > * to read and write guest registers > * to flush tb cache > * to control single stepping of qemu from plugin > > These changes allow the user to > * collect mo

[RFC PATCH 1/1] QEMU plugin interface extension

2021-08-21 Thread Florian Hauschild
This extension covers functions: * to read and write guest memory * to read and write guest registers * to flush tb cache * to control single stepping of qemu from plugin These changes allow the user to * collect more information about the behaviour of the system * change the guest sta