]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio/vhost: Use auto_rcu_read macros
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 25 Oct 2019 10:34:02 +0000 (11:34 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 29 Oct 2019 22:56:45 +0000 (18:56 -0400)
commit7a064bcc6699151311c2067eea6546da6498ebe7
tree91c0ade354204d698d6f11cfd3af5f05b3cc1c15
parentf045a0104c8ce38da7f42141a6b3ebf3d74b474b
virtio/vhost: Use auto_rcu_read macros

Use RCU_READ_LOCK_GUARD instead of manual rcu_read_(un)lock

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20191025103403.120616-2-dgilbert@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost.c