Revision df04d1f16ae58a4eee0f64476667f2fd6c1d6d30 authored by Paolo Bonzini on 05 March 2018, 08:23:56 UTC, committed by Michael Roth on 21 June 2018, 01:44:59 UTC
address_space_write is calling address_space_to_flatview but it can
be called outside the RCU lock.  To fix it, push the rcu_read_lock/unlock
pair up from flatview_write to address_space_write.

Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 4c6ebbb364aa6f42c5d8e83e932e967eb83f0e44)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
1 parent ac25a32
History
File Mode Size
tcg-target.h -rw-r--r-- 4.4 KB
tcg-target.inc.c -rw-r--r-- 67.0 KB

back to top