]> git.ipfire.org Git - thirdparty/qemu.git/commit
plugins/loader: compile loader only once
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 4 Mar 2025 22:24:32 +0000 (22:24 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 10 Mar 2025 10:30:01 +0000 (10:30 +0000)
commit8c15f6e435a15e90456d26ff26199861369c9d63
treeb0bc72336f281e771c6e51d67291f89ad86ac608
parent5dd09b8157a132468547ad8a392ec9f8d836c169
plugins/loader: compile loader only once

There is very little in loader that is different between builds save
for a tiny user/system mode difference in the plugin_info structure.
Create two new files, user and system to hold mode specific helpers
and move loader into common_ss.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250304222439.2035603-26-alex.bennee@linaro.org>
plugins/loader.c
plugins/meson.build
plugins/plugin.h
plugins/system.c [new file with mode: 0644]
plugins/user.c [new file with mode: 0644]