summaryrefslogtreecommitdiff
path: root/dma-helpers.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-11-23 15:00:04 +0000
committerKevin Wolf <kwolf@redhat.com>2011-12-05 14:51:38 +0100
commite94d13873334b1880746feca59ce84c0eabc1021 (patch)
treeac5c043cae5dec3f226b29a5173ca8ce4b49867b /dma-helpers.c
parentfb0490f69feb96b7e92457f176dc834ff0b00b09 (diff)
downloadqemu-e94d13873334b1880746feca59ce84c0eabc1021.tar.gz
qemu-e94d13873334b1880746feca59ce84c0eabc1021.tar.bz2
qemu-e94d13873334b1880746feca59ce84c0eabc1021.zip
cow: use bdrv_co_is_allocated()
Now that bdrv_co_is_allocated() is available we can use it instead of the synchronous bdrv_is_allocated() interface. This is a follow-up that Kevin Wolf <kwolf@redhat.com> pointed out after applying the series that introduces bdrv_co_is_allocated(). It is safe to make cow_read() a coroutine_fn because its only caller is a coroutine_fn. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'dma-helpers.c')
0 files changed, 0 insertions, 0 deletions