qsp: Use WITH_RCU_READ_LOCK_GUARD
commit2a86be257166652b3e4c189c7e2d471e9ab2947f
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 13 Dec 2019 13:19:31 +0000 (13 13:19 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Dec 2019 18:33:52 +0000 (17 19:33 +0100)
treed17d26e106a1f1a063a6028838c505c7ca28c734
parentb66173afbde1d99961e1698f0c957a74bd5bfc5a
qsp: Use WITH_RCU_READ_LOCK_GUARD

The automatic rcu read lock maintenance works quite
nicely in this case where it previously relied on a comment to
delimit the lifetime and now has a block.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
util/qsp.c