diff options
author | Fam Zheng <famz@redhat.com> | 2014-09-11 14:09:56 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-09-22 11:39:23 +0100 |
commit | e819ab22777fd455d5b130afe48c808d35ef7e93 (patch) | |
tree | 7701c3c369c7c9e03e17e84aca651c679b8d67ac /ui/spice-input.c | |
parent | a90d411e63ef29bb99b984e0fdb7796aeee1c724 (diff) |
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 'ui/spice-input.c')
0 files changed, 0 insertions, 0 deletions