cpus: protect work list with work_mutex
commit376692b9dc6f02303ee07a4146d08d8727d79c0c
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 Jul 2015 10:32:32 +0000 (10 12:32 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 9 Sep 2015 13:34:55 +0000 (9 15:34 +0200)
tree4e67dcac05713579e92b0a38935165e3cd2fd4e7
parent0c71d41e2aa3c7356500ae624166f3bb8c201aee
cpus: protect work list with work_mutex

Protect the list of queued work items with something other than
the BQL, as a preparation for running the work items outside it.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
cpus.c
include/qom/cpu.h
qom/cpu.c