diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-10-03 14:30:20 +0200 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2023-10-03 08:00:25 -0700 |
| commit | 6294e502a95e64f75d63bd95c5a24aa4d7f00196 (patch) | |
| tree | 3da26c0971accc04c443c9bc3fdf3e67fdd1bcfe /include/hw/core | |
| parent | e5dc722ca9f8b02da21e0fd7852a44b65a5686c6 (diff) | |
| download | focaccia-qemu-6294e502a95e64f75d63bd95c5a24aa4d7f00196.tar.gz focaccia-qemu-6294e502a95e64f75d63bd95c5a24aa4d7f00196.zip | |
accel: Rename AccelCPUClass::cpu_realizefn() -> cpu_target_realize()
The AccelCPUClass::cpu_realizefn handler is meant for target specific code, rename it using '_target_' to emphasis it. Suggested-by: Claudio Fontana <cfontana@suse.de> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20231003123026.99229-3-philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/hw/core')
| -rw-r--r-- | include/hw/core/accel-cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/core/accel-cpu.h b/include/hw/core/accel-cpu.h index 5dbfd79955..24dad45ab9 100644 --- a/include/hw/core/accel-cpu.h +++ b/include/hw/core/accel-cpu.h @@ -32,7 +32,7 @@ typedef struct AccelCPUClass { void (*cpu_class_init)(CPUClass *cc); void (*cpu_instance_init)(CPUState *cpu); - bool (*cpu_realizefn)(CPUState *cpu, Error **errp); + bool (*cpu_target_realize)(CPUState *cpu, Error **errp); } AccelCPUClass; #endif /* ACCEL_CPU_H */ |