diff options
| author | Claudio Fontana <cfontana@suse.de> | 2020-07-31 12:23:42 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-10-05 16:41:22 +0200 |
| commit | 430065dab060f04a74f915ea1260dcc79701ca75 (patch) | |
| tree | f445ddeea37071030bd0bbbef143b705b608252a /stubs/cpu-synchronize-state.c | |
| parent | 8191d3684157884bf7e6eff0d247d7e91a1cc543 (diff) | |
| download | focaccia-qemu-430065dab060f04a74f915ea1260dcc79701ca75.tar.gz focaccia-qemu-430065dab060f04a74f915ea1260dcc79701ca75.zip | |
cpus: prepare new CpusAccel cpu accelerator interface
The new interface starts unused, will start being used by the next patches. It provides methods for each accelerator to start a vcpu, kick a vcpu, synchronize state, get cpu virtual clock and elapsed ticks. In qemu_wait_io_event, make it clear that APC is used only for HAX on Windows. Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'stubs/cpu-synchronize-state.c')
| -rw-r--r-- | stubs/cpu-synchronize-state.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/stubs/cpu-synchronize-state.c b/stubs/cpu-synchronize-state.c new file mode 100644 index 0000000000..d9211da66c --- /dev/null +++ b/stubs/cpu-synchronize-state.c @@ -0,0 +1,9 @@ +#include "qemu/osdep.h" +#include "sysemu/hw_accel.h" + +void cpu_synchronize_state(CPUState *cpu) +{ +} +void cpu_synchronize_post_init(CPUState *cpu) +{ +} |