diff options
author | Greg Kurz | 2020-10-14 15:40:57 +0200 |
---|---|---|
committer | Laurent Vivier | 2020-10-27 16:48:49 +0100 |
commit | c5af3c0d855cc7577b9dd4758f3fcdd7d38b6241 (patch) | |
tree | f2baa6fa1e0cb6e1cfcb3e12bb708dee590dae64 /include | |
parent | Makefile: Add *.[ch].inc files to cscope/ctags/TAGS (diff) | |
download | qemu-c5af3c0d855cc7577b9dd4758f3fcdd7d38b6241.tar.gz qemu-c5af3c0d855cc7577b9dd4758f3fcdd7d38b6241.tar.xz qemu-c5af3c0d855cc7577b9dd4758f3fcdd7d38b6241.zip |
cpus: Drop declaration of cpu_remove()
cpu_remove() got superseded by cpu_remove_sync() in commit dbadee4ff4a0,
but its prototype wasn't removed. We could possibly keep the shorter
cpu_remove() naming but it seems better to highligth that this blocks
until the CPU thread is joined.
Fixes: dbadee4ff4a0 ("cpus: join thread when removing a vCPU")
Cc: pbonzini@redhat.com
Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <160268285707.1107461.15035929822602623985.stgit@bahia.lan>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/core/cpu.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h index 9c3a45ad7b..3d92c967ff 100644 --- a/include/hw/core/cpu.h +++ b/include/hw/core/cpu.h @@ -927,14 +927,6 @@ void cpu_exit(CPUState *cpu); void cpu_resume(CPUState *cpu); /** - * cpu_remove: - * @cpu: The CPU to remove. - * - * Requests the CPU to be removed. - */ -void cpu_remove(CPUState *cpu); - - /** * cpu_remove_sync: * @cpu: The CPU to remove. * |