Paolo Bonzini 41063e1e7a exec: move rcu_read_lock/unlock to address_space_translate callers
Once address_space_translate will be called outside the BQL, the returned
MemoryRegion might disappear as soon as the RCU read-side critical section
ends.  Avoid this by moving the critical section to the callers.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1426684909-95030-3-git-send-email-pbonzini@redhat.com>
2015-04-30 16:55:32 +02:00
..
2015-03-19 11:11:55 +03:00
2015-04-28 15:36:08 +02:00
2015-04-28 15:36:08 +02:00
2015-04-27 18:24:18 +02:00
2015-04-28 15:27:51 -04:00
2015-04-30 13:21:41 +02:00
2015-04-28 15:36:08 +02:00
2015-04-27 18:24:19 +02:00
2015-03-27 10:23:50 +00:00
2015-04-28 15:36:08 +02:00
2014-10-24 12:19:11 +01:00
2015-04-28 15:36:08 +02:00
2015-04-28 15:36:08 +02:00
2015-03-19 11:11:55 +03:00
2015-03-10 17:07:28 +01:00
2015-03-20 09:50:08 +00:00