diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-07-03 16:44:39 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-07-15 19:34:33 +0200 |
commit | f7a7e7dd2179e7189064e0b7b637e6906617221f (patch) | |
tree | 98ce1202153630dd3bcef1b4a85ad9e55b166412 /bsd-user | |
parent | 05927e9dc9371766d20c97ac609ec8698e95bb45 (diff) | |
download | qemu-f7a7e7dd2179e7189064e0b7b637e6906617221f.zip qemu-f7a7e7dd2179e7189064e0b7b637e6906617221f.tar.gz qemu-f7a7e7dd2179e7189064e0b7b637e6906617221f.tar.bz2 |
accel: Extract AccelClass definition to 'accel/accel-ops.h'
Only accelerator implementations (and the common accelator
code) need to know about AccelClass internals. Move the
definition out but forward declare AccelState and AccelClass.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250703173248.44995-39-philmd@linaro.org>
Diffstat (limited to 'bsd-user')
-rw-r--r-- | bsd-user/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bsd-user/main.c b/bsd-user/main.c index d0cc8e0..7e5d4bb 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -38,6 +38,7 @@ #include "qemu/plugin.h" #include "user/guest-base.h" #include "user/page-protection.h" +#include "accel/accel-ops.h" #include "tcg/startup.h" #include "qemu/timer.h" #include "qemu/envlist.h" |