]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Add optional callback on disk op completion
authorSasha Levin <levinsasha928@gmail.com>
Wed, 2 Nov 2011 05:41:09 +0000 (07:41 +0200)
committerPekka Enberg <penberg@kernel.org>
Wed, 2 Nov 2011 06:21:31 +0000 (08:21 +0200)
commit26155c62cbae2500da49ff217cde4d91121cd9ba
tree26c4107aad0d62a135e5fe20d650d744dc326ad9
parenta74299e691f0177403e4e209821fb0e997051876
kvm tools: Add optional callback on disk op completion

This patch adds an optional callback to be called when a disk op completes.

Currently theres not much use for it, but it is the infrastructure for adding
aio support.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/disk/core.c
tools/kvm/disk/qcow.c
tools/kvm/disk/raw.c
tools/kvm/include/kvm/disk-image.h
tools/kvm/virtio/blk.c