diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2011-11-14 12:44:24 +0000 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-12-05 14:51:37 +0100 |
commit | 81145834d39897c6f153ac26a4077f90f269c5fc (patch) | |
tree | 9e04e7b769c731f3af263a22bf740157a63f102f /block_int.h | |
parent | e850b35a1f41304c31b971bde95f0534f2afd791 (diff) | |
download | qemu-81145834d39897c6f153ac26a4077f90f269c5fc.zip qemu-81145834d39897c6f153ac26a4077f90f269c5fc.tar.gz qemu-81145834d39897c6f153ac26a4077f90f269c5fc.tar.bz2 |
cow: convert to .bdrv_co_is_allocated()
The cow block driver does not keep internal state for cluster lookups.
This means it is safe to perform cluster lookups in coroutine context
without risk of race conditions that corrupt internal state.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block_int.h')
0 files changed, 0 insertions, 0 deletions