qemu-riscv
[Top][All Lists]
Advanced

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

Re: [PATCH 21/24] plugins: Un-inline qemu_plugin_disable_mem_helpers()


From: Richard Henderson
Subject: Re: [PATCH 21/24] plugins: Un-inline qemu_plugin_disable_mem_helpers()
Date: Sun, 21 Apr 2024 09:52:39 -0700
User-agent: Mozilla Thunderbird

On 4/18/24 12:25, Philippe Mathieu-Daudé wrote:
"qemu/plugin.h" only include the huge "hw/core/cpu.h"
because qemu_plugin_disable_mem_helpers() accesses
CPUState::plugin_mem_cbs. In order to avoid including
it, un-inline qemu_plugin_disable_mem_helpers().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
  include/qemu/plugin.h | 6 +-----
  plugins/core.c        | 5 +++++
  2 files changed, 6 insertions(+), 5 deletions(-)


I don't see how this helps.
All of the places that use qemu_plugin_disable_mem_helpers also have cpu.h.


r~



reply via email to

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