summary refs log tree commit diff stats
path: root/plugins/api.c
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2025-03-04 22:24:36 +0000
committerAlex Bennée <alex.bennee@linaro.org>2025-03-10 10:30:01 +0000
commit40988ed9dfca934791bd2aeb1cc2d11e3a239265 (patch)
tree3cf19e8855ecb96fe4acd2fa3befd0cdd3fca5f9 /plugins/api.c
parent1d3e745f7ada921d544f29fbf84c6f0f63025e61 (diff)
downloadfocaccia-qemu-40988ed9dfca934791bd2aeb1cc2d11e3a239265.tar.gz
focaccia-qemu-40988ed9dfca934791bd2aeb1cc2d11e3a239265.zip
plugins/api: build only once
Now all the softmmu/user-mode stuff has been split out we can build
this compilation unit only once.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250304222439.2035603-30-alex.bennee@linaro.org>
Diffstat (limited to 'plugins/api.c')
-rw-r--r--plugins/api.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/plugins/api.c b/plugins/api.c
index 832bf6ee5e..604ce06802 100644
--- a/plugins/api.c
+++ b/plugins/api.c
@@ -46,17 +46,6 @@
 #include "exec/translator.h"
 #include "disas/disas.h"
 #include "plugin.h"
-#ifndef CONFIG_USER_ONLY
-#include "qapi/error.h"
-#include "migration/blocker.h"
-#include "qemu/plugin-memory.h"
-#include "hw/boards.h"
-#else
-#include "qemu.h"
-#ifdef CONFIG_LINUX
-#include "loader.h"
-#endif
-#endif
 
 /* Uninstall and Reset handlers */