On 08/27/2014 12:22 AM, Fam Zheng wrote:
> This is an analogue to Linux null_blk. It can be used for testing block
> device emulation and general block layer functionalities such as
> coroutines and throttling, where disk IO is not necessary or wanted.
> 
> Signed-off-by: Fam Zheng <f...@redhat.com>
> ---
>  block/Makefile.objs |   1 +
>  block/null.c        | 172 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 173 insertions(+)
>  create mode 100644 block/null.c

Worth also adding it to BlockdevOptions in qapi/block-core.json to allow
hotplug of this driver?  (Not that libvirt will ever hotplug one, but I
really want to move towards being feature-complete on letting QMP drive
all block types)

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to