seqlock: add QemuLockable support
commit988fcafc730242711ba92f9e62557e37f2b22cc0
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Aug 2018 07:48:29 +0000 (14 09:48 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Aug 2018 16:46:25 +0000 (23 18:46 +0200)
treecd9b802a1d8243aafeb88a6b01742f1934e11585
parentc1ff073cd88eddce5a0870791431878b96d08157
seqlock: add QemuLockable support

A shortcut when the seqlock write is protected by a spinlock or any mutex
other than the BQL.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/qemu/seqlock.h