[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH v2 0/7] QEMU binary instrumentation prototyp
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [RFC PATCH v2 0/7] QEMU binary instrumentation prototype |
Date: |
Tue, 5 Jun 2018 11:49:46 +0100 |
On 5 June 2018 at 11:39, Pavel Dovgalyuk <address@hidden> wrote:
> The following series implements dynamic binary instrumentation upon QEMU.
> The aim of submission of this series at that early stage is to get
> the feedback which will guide the development process. We are faced
> the following questions:
> 1. Does every plugins should have its own callback embedded into the TB
> (which will cause TB extra growth in case of multiple plugins),
> or the instrumentation layer's callback should invoke the plugins
> that wanted to instrument that specific instruction?
> 2. How the plugins should function? Will they work as a binary dynamic
> libraries or a script on some interpreted language?
> 3. Should the plugins reuse QEMU configuration script results?
> Now there is no possibility for using platform-specific macros
> generated by QEMU configure.
> 4. Maybe QEMU module infrastructure should be extended to support
> plugins too?
> 5. How the GDB-related CPU inspection interface may be used better?
> We should pass a register code to read the value. These codes
> are not described in any of the files. Maybe a function for
> accessing register by name should be added?
This series doesn't seem to add anything to Documentation/ that
describes the API we make available to plugins. I'm a lot more
interested in reviewing the API that will be used by plugins
than I am in the implementation at this stage. Can you provide
a description/documentation of the API for review, please?
thanks
-- PMM
- [Qemu-devel] [RFC PATCH v2 0/7] QEMU binary instrumentation prototype, Pavel Dovgalyuk, 2018/06/05
- [Qemu-devel] [RFC PATCH v2 1/7] tcg: add headers for non-target helpers, Pavel Dovgalyuk, 2018/06/05
- [Qemu-devel] [RFC PATCH v2 2/7] Add plugin support, Pavel Dovgalyuk, 2018/06/05
- [Qemu-devel] [RFC PATCH v2 3/7] plugins: provide helper functions for plugins, Pavel Dovgalyuk, 2018/06/05
- [Qemu-devel] [RFC PATCH v2 4/7] tcg: add instrumenting module, Pavel Dovgalyuk, 2018/06/05
- [Qemu-devel] [RFC PATCH v2 5/7] plugins: add plugin template, Pavel Dovgalyuk, 2018/06/05
- [Qemu-devel] [RFC PATCH v2 6/7] plugin: add instruction execution logger, Pavel Dovgalyuk, 2018/06/05
- [Qemu-devel] [RFC PATCH v2 7/7] plugins: add syscall logging plugin sample, Pavel Dovgalyuk, 2018/06/05
- Re: [Qemu-devel] [RFC PATCH v2 0/7] QEMU binary instrumentation prototype,
Peter Maydell <=
- Re: [Qemu-devel] [RFC PATCH v2 0/7] QEMU binary instrumentation prototype, no-reply, 2018/06/06
- Re: [Qemu-devel] [RFC PATCH v2 0/7] QEMU binary instrumentation prototype, no-reply, 2018/06/06
- Re: [Qemu-devel] [RFC PATCH v2 0/7] QEMU binary instrumentation prototype, no-reply, 2018/06/06