[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] block: Introduce "null" driver
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH] block: Introduce "null" driver |
Date: |
Wed, 27 Aug 2014 15:27:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Eric Blake <address@hidden> writes:
> 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)
I'd support a policy of "no new block drivers outside QAPI".