]> git.ipfire.org Git - thirdparty/qemu.git/commit
cpus-common: move CPU list management to common code
authorPaolo Bonzini <pbonzini@redhat.com>
Sun, 28 Aug 2016 01:45:14 +0000 (03:45 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Sep 2016 09:57:29 +0000 (11:57 +0200)
commit267f685b8b20784c97251618b515fcd17b42aad6
tree7a746297b582988b5f8b69ec2ba3a2c1abbcd634
parent178f94297a23e68183ce08bb841cf5d209208b03
cpus-common: move CPU list management to common code

Add a mutex for the CPU list to system emulation, as it will be used to
manage safe work.  Abstract manipulation of the CPU list in new functions
cpu_list_add and cpu_list_remove.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Makefile.objs
bsd-user/main.c
cpus-common.c [new file with mode: 0644]
exec.c
include/exec/cpu-common.h
include/exec/exec-all.h
include/qom/cpu.h
linux-user/main.c
vl.c