cpus: Drop declaration of cpu_remove()
cpu_remove() got superseded by cpu_remove_sync() in commitdbadee4ff4
, 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:dbadee4ff4
("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>
This commit is contained in:
parent
018da27970
commit
c5af3c0d85
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user