[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Difficulties to access guest memory in TCG plugins
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: Difficulties to access guest memory in TCG plugins |
Date: |
Thu, 24 Jun 2021 10:14:47 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
Cc'ing the maintainer: Alex.
On 6/23/21 5:08 PM, Kevin Mambu wrote:
> Hi, everyone,
> I need to put in place a plugin which is able to modify memory for a
> specific project, and until now I managed to do so using
> cpu_memory_rw_debug().
> However, the function happens to fail at times, and when looking at the
> source code of cpu_memory_rw_debug() on elixir, the issue seems to be
> either the memory being locked by another part of QEMU code or some kind
> of page fault.
> My prior researches tend to put the blame on the RCU lock mechanism, and
> I was wondering if there was another, fail-safe, function I could use to
> access guest memory from my plug-in ?
>
> Thank you in advance,
>
> *Kévin Mambu*
> Sent with ProtonMail <https://protonmail.com/> Secure Email.
>