summary refs log tree commit diff stats
path: root/qemu-timer.c
diff options
context:
space:
mode:
authorZhi Yong Wu <wuzhy@linux.vnet.ibm.com>2012-05-07 16:50:42 +0800
committerKevin Wolf <kwolf@redhat.com>2012-05-07 19:33:18 +0200
commit5b7e1542cfa41a281af9629d31cef03704d976e6 (patch)
tree5a526ff39dbee92f56bf0c4dfa9e2233bda61d2e /qemu-timer.c
parent54e6814360ab2110ed3ed07b2b9a3f9907e1202a (diff)
downloadfocaccia-qemu-5b7e1542cfa41a281af9629d31cef03704d976e6.tar.gz
focaccia-qemu-5b7e1542cfa41a281af9629d31cef03704d976e6.zip
block: make bdrv_create adopt coroutine
The current qemu.git introduces failure with preallocation and some
sizes:

qemu-img create -f qcow2 new.img 976563K -o preallocation=metadata
qemu-img: qemu-coroutine-lock.c:111: qemu_co_mutex_unlock: Assertion
`mutex->locked == 1' failed.

And lock needs to work in coroutine context. So to fix this issue, we
need to make bdrv_create adopt coroutine at first.

Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-timer.c')
0 files changed, 0 insertions, 0 deletions