qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 03/12] tests/plugin: add test plugin for inline operations


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 03/12] tests/plugin: add test plugin for inline operations
Date: Thu, 11 Jan 2024 16:57:44 +0100
User-agent: Mozilla Thunderbird

Hi Pierrick,

On 11/1/24 15:23, Pierrick Bouvier wrote:
For now, it simply performs instruction, bb and mem count, and ensure
that inline vs callback versions have the same result. Later, we'll
extend it when new inline operations are added.

Use existing plugins to test everything works is a bit cumbersome, as
different events are treated in different plugins. Thus, this new one.

Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
---
  tests/plugin/inline.c    | 183 +++++++++++++++++++++++++++++++++++++++
  tests/plugin/meson.build |   2 +-
  2 files changed, 184 insertions(+), 1 deletion(-)
  create mode 100644 tests/plugin/inline.c

+#define MAX_CPUS 8

Where does this value come from?

Should the pluggin API provide a helper to ask TCG how many
vCPUs are created?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]