[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 3/8] cpus: Drop declaration of cpu_remove()
From: |
Laurent Vivier |
Subject: |
[PULL 3/8] cpus: Drop declaration of cpu_remove() |
Date: |
Tue, 27 Oct 2020 17:30:09 +0100 |
From: Greg Kurz <groug@kaod.org>
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>
---
include/hw/core/cpu.h | 8 --------
1 file changed, 8 deletions(-)
diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h
index 9c3a45ad7b11..3d92c967fffa 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.
*
--
2.26.2
- [PULL 0/8] Trivial branch for 5.2 patches, Laurent Vivier, 2020/10/27
- [PULL 2/8] Makefile: Add *.[ch].inc files to cscope/ctags/TAGS, Laurent Vivier, 2020/10/27
- [PULL 3/8] cpus: Drop declaration of cpu_remove(),
Laurent Vivier <=
- [PULL 5/8] cryptodev: Fix Lesser GPL version number, Laurent Vivier, 2020/10/27
- [PULL 4/8] io: Fix Lesser GPL version number, Laurent Vivier, 2020/10/27
- [PULL 6/8] scripts/qmp: delete 'qmp' script, Laurent Vivier, 2020/10/27
- [PULL 7/8] qdev: Fix two typos, Laurent Vivier, 2020/10/27
- [PULL 8/8] CHANGELOG: remove disused file, Laurent Vivier, 2020/10/27
- [PULL 1/8] elf2dmp: Fix memory leak on main() error paths, Laurent Vivier, 2020/10/27
- Re: [PULL 0/8] Trivial branch for 5.2 patches, Peter Maydell, 2020/10/30