summary refs log tree commit diff stats
path: root/scripts/qapi-types.py
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2014-09-11 14:09:56 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2014-09-22 11:39:23 +0100
commite819ab22777fd455d5b130afe48c808d35ef7e93 (patch)
tree7701c3c369c7c9e03e17e84aca651c679b8d67ac /scripts/qapi-types.py
parenta90d411e63ef29bb99b984e0fdb7796aeee1c724 (diff)
downloadfocaccia-qemu-e819ab22777fd455d5b130afe48c808d35ef7e93.tar.gz
focaccia-qemu-e819ab22777fd455d5b130afe48c808d35ef7e93.zip
block: Introduce "null" drivers
This is an analogue to Linux null_blk. It can be used for testing or
benchmarking block device emulation and general block layer
functionalities such as coroutines and throttling, where disk IO is not
necessary or wanted.

Use null-aio:// for AIO version, and null-co:// for coroutine version.

[Resolved conflict with Fam's async bdrv_aio_cancel() series:
1. Drop .bdrv_aio_cancel() since it is now done by block.c
2. Rename qemu_aio_release() to qemu_aio_unref()
--Stefan]

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: BenoƮt Canet <benoit.canet@nodalink.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1410415798-20673-2-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions