[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] block: Introduce "null" driver
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH v2] block: Introduce "null" driver |
Date: |
Thu, 28 Aug 2014 10:22:26 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Fam Zheng <address@hidden> writes:
> 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.
>
> Use null:// for AIO version, and null-co:// for coroutine version.
>
> Signed-off-by: Fam Zheng <address@hidden>
>
> ---
> V2: Don't #ifdef code, add two drivers. (Benoit)
> Add to QAPI BlockdevOptions. (Eric)
> Add "file.size" option to override backend size. (What is a better
> way to associate /dev/vd{a,b,c} with command line devices, if sizes
> are the same?)
Is this a request for advice? If yes, please explain the problem in
more detail, because I'm too dense to get it :)