On 3/14/25 06:35, Anthony PERARD wrote:
On Thu, Mar 13, 2025 at 09:38:58AM -0700, Pierrick Bouvier wrote:
Those functions are used by system/physmem.c, and are called only if
xen is enabled (which happens only if CONFIG_XEN is not set).

You mean, 's/is not set/is set/'?

Right, I'll update the comment.


So we can crash in case those are called.

Acked-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>
---
diff --git a/hw/xen/xen_stubs.c b/hw/xen/xen_stubs.c
new file mode 100644
index 00000000000..19cee84bbb4
--- /dev/null
+++ b/hw/xen/xen_stubs.c
+
+void xen_invalidate_map_cache(void)
+{

Is this stub actually necessary? xen_invalidate_map_cache() doesn't
seems to be used outside of xen's code.


You're right again, I added it by mistake.

In anycase:
Acked-by: Anthony PERARD <anthony.per...@vates.tech>

Thanks,



Reply via email to