diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2023-05-16 15:02:27 -0400 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2023-05-30 17:32:02 +0200 |
| commit | ff82b7835b2fbbd0a17d616f6929601a97a6497d (patch) | |
| tree | cb0b3a8ccbf2e144d69b013eed773a18896d1e70 /util/async.c | |
| parent | 9998f70f6625f15f2ae36f612509ea34733c11d3 (diff) | |
| download | focaccia-qemu-ff82b7835b2fbbd0a17d616f6929601a97a6497d.tar.gz focaccia-qemu-ff82b7835b2fbbd0a17d616f6929601a97a6497d.zip | |
block: add blk_in_drain() API
The BlockBackend quiesce_counter is greater than zero during drained sections. Add an API to check whether the BlockBackend is in a drained section. The next patch will use this API. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20230516190238.8401-10-stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'util/async.c')
0 files changed, 0 insertions, 0 deletions