aboutsummaryrefslogtreecommitdiff
path: root/qemu-x509.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-11-14 12:44:21 +0000
committerKevin Wolf <kwolf@redhat.com>2011-12-05 14:51:37 +0100
commitf8a2e5e3ca6146d4cc66a4750daf44a0cf043319 (patch)
treee7d9806736d64a850f539a774b0ac00f8bd900dc /qemu-x509.h
parentb7d5a5b8ae5425a4dee69b043b1f334237b3b06a (diff)
downloadqemu-f8a2e5e3ca6146d4cc66a4750daf44a0cf043319.zip
qemu-f8a2e5e3ca6146d4cc66a4750daf44a0cf043319.tar.gz
qemu-f8a2e5e3ca6146d4cc66a4750daf44a0cf043319.tar.bz2
block: convert qcow2, qcow2, and vmdk to .bdrv_co_is_allocated()
The qcow2, qcow, and vmdk block drivers are based on coroutines. They have a coroutine mutex which protects internal state. We can convert the .bdrv_is_allocated() function to .bdrv_co_is_allocated() by holding the mutex around the cluster lookup operation. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-x509.h')
0 files changed, 0 insertions, 0 deletions