[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] block: Introduce "null" driver
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH] block: Introduce "null" driver |
Date: |
Wed, 27 Aug 2014 06:49:10 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 |
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 <address@hidden>
> ---
> 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
signature.asc
Description: OpenPGP digital signature