diff options
| author | Dr. David Alan Gilbert | 2019-10-28 17:11:09 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2019-10-29 23:56:45 +0100 |
| commit | b5f53d04a5a567ac70d33ec95628d35583eba600 (patch) | |
| tree | 7c90f01af096af4a5fe64d701343911df2cd7f3a /qapi/migration.json | |
| parent | virtio_net: use RCU_READ_LOCK_GUARD (diff) | |
| download | qemu-b5f53d04a5a567ac70d33ec95628d35583eba600.tar.gz qemu-b5f53d04a5a567ac70d33ec95628d35583eba600.tar.xz qemu-b5f53d04a5a567ac70d33ec95628d35583eba600.zip | |
virtio: Use auto rcu_read macros
Use RCU_READ_LOCK_GUARD and WITH_RCU_READ_LOCK_GUARD
to replace the manual rcu_read_(un)lock calls.
I think the only change is virtio_load which was missing unlocks
in error paths; those end up being fatal errors so it's not
that important anyway.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20191028161109.60205-1-dgilbert@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'qapi/migration.json')
0 files changed, 0 insertions, 0 deletions
