Pierrick Bouvier <pierrick.bouv...@linaro.org> writes:

> data was correctly copied, but size of array was not set
> (g_array_sized_new only reserves memory, but does not set size).
>
> As a result, callbacks were not called for code path relying on
> plugin_register_vcpu_mem_cb().
>
> Found when trying to trigger mem access callbacks for atomic
> instructions.
>
> Reviewed-by: Xingtao Yao <yaoxt.f...@fujitsu.com>
> Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
> Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>

I'm queuing this patch to plugins/next as it is a fix.

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro

Reply via email to