On Tue, Oct 05, 2021 at 10:32:07AM -0400, Emanuele Giuseppe Esposito wrote:
transactions run always under the BQL lock, so they are all
in the global state API.
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
---
include/qemu/transactions.h | 24 ++++++++++++++++++++++++
util/transactions.c | 4 ++++
2 files changed, 28 insertions(+)
Hmm...not sure about this. Maybe Vladimir can share his thoughts.
This seems like a library that can be used in various situations. It has
no connection to the BQL. There's no need to declare it GS or I/O
because it's just a utility just like QEMUIOVector, etc.