]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/xen: add stubs for various functions
authorPierrick Bouvier <pierrick.bouvier@linaro.org>
Mon, 17 Mar 2025 18:34:11 +0000 (11:34 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 23 Apr 2025 20:52:37 +0000 (13:52 -0700)
commit105d7ea0a574a7db79cd378fe563e0ce51e38dda
tree03314edcfb53a1b1292e5db5509e70a81cb6ecf7
parentdea4acbdef980d92cbee60df16e8209946bf026f
hw/xen: add stubs for various functions

Those symbols are used by system/physmem.c, and are called only if
xen_enabled() (which happens only if CONFIG_XEN is set and xen is
available).

So we can crash the stubs in case those are called, as they are linked
only when CONFIG_XEN is not set.

Acked-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Anthony PERARD <anthony.perard@vates.tech>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20250317183417.285700-13-pierrick.bouvier@linaro.org>
hw/xen/meson.build
hw/xen/xen_stubs.c [new file with mode: 0644]