diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-03-05 00:19:49 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-03-06 14:01:28 +0100 |
commit | b2a44fcad74f1cc7a6786d38eba7db12ab2352ba (patch) | |
tree | 347a7383e68978e8c7136331e629592d51de72b0 /target | |
parent | 4c6ebbb364aa6f42c5d8e83e932e967eb83f0e44 (diff) |
address_space_read: address_space_to_flatview needs RCU lock
address_space_read 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_read_full to address_space_read's constant size
fast path and address_space_read_full.
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions