Re: [Qemu-devel] [PATCH v3] block: Introduce "null" driver

2014-09-03 Thread Markus Armbruster
Eric Blake writes: > On 09/03/2014 05:10 AM, Kevin Wolf wrote: > > @@ -1150,7 +1150,8 @@ >'data': [ 'archipelago', 'file', 'host_device', 'host_cdrom', > 'host_floppy', > 'http', 'https', 'ftp', 'ftps', 'tftp', 'vvfat', 'blkdebug', > 'blkverify',

Re: [Qemu-devel] [PATCH v3] block: Introduce "null" driver

2014-09-03 Thread Eric Blake
On 09/03/2014 05:10 AM, Kevin Wolf wrote: @@ -1150,7 +1150,8 @@ 'data': [ 'archipelago', 'file', 'host_device', 'host_cdrom', 'host_floppy', 'http', 'https', 'ftp', 'ftps', 'tftp', 'vvfat', 'blkdebug', 'blkverify', 'bochs', 'cloop', 'cow', 'dm

Re: [Qemu-devel] [PATCH v3] block: Introduce "null" driver

2014-09-03 Thread Kevin Wolf
Am 29.08.2014 um 02:55 hat Fam Zheng geschrieben: > On Thu, 08/28 16:23, Eric Blake wrote: > > On 08/27/2014 11:53 PM, 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 > > > coroutin

Re: [Qemu-devel] [PATCH v3] block: Introduce "null" driver

2014-08-28 Thread Markus Armbruster
Fam Zheng writes: > On Thu, 08/28 16:23, Eric Blake wrote: >> On 08/27/2014 11:53 PM, 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 i

Re: [Qemu-devel] [PATCH v3] block: Introduce "null" driver

2014-08-28 Thread Fam Zheng
On Thu, 08/28 16:23, Eric Blake wrote: > On 08/27/2014 11:53 PM, 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.

Re: [Qemu-devel] [PATCH v3] block: Introduce "null" driver

2014-08-28 Thread Fam Zheng
On Thu, 08/28 17:22, Benoît Canet wrote: > The Thursday 28 Aug 2014 à 13:53:11 (+0800), 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

Re: [Qemu-devel] [PATCH v3] block: Introduce "null" driver

2014-08-28 Thread Eric Blake
On 08/27/2014 11:53 PM, 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. > > Use null:// for AIO version, and null-co:

Re: [Qemu-devel] [PATCH v3] block: Introduce "null" driver

2014-08-28 Thread Eric Blake
On 08/28/2014 04:15 PM, Eric Blake wrote: > On 08/28/2014 01:42 PM, Paolo Bonzini wrote: >> Il 28/08/2014 17:52, Eric Blake ha scritto: >>> have a '*coroutine':'bool' flag here that chooses between the null: and >>> the null-co: protocol. (I suspect we would do the same when finaly >>> adding glus

Re: [Qemu-devel] [PATCH v3] block: Introduce "null" driver

2014-08-28 Thread Eric Blake
On 08/28/2014 01:42 PM, Paolo Bonzini wrote: > Il 28/08/2014 17:52, Eric Blake ha scritto: >> have a '*coroutine':'bool' flag here that chooses between the null: and >> the null-co: protocol. (I suspect we would do the same when finaly >> adding gluster to BlockdevOptions: rather than having 'glus

Re: [Qemu-devel] [PATCH v3] block: Introduce "null" driver

2014-08-28 Thread Paolo Bonzini
Il 28/08/2014 17:52, Eric Blake ha scritto: > have a '*coroutine':'bool' flag here that chooses between the null: and > the null-co: protocol. (I suspect we would do the same when finaly > adding gluster to BlockdevOptions: rather than having 'gluster+tcp' and > 'gluster+udp', it would be a single

Re: [Qemu-devel] [PATCH v3] block: Introduce "null" driver

2014-08-28 Thread Eric Blake
On 08/28/2014 09:22 AM, Benoît Canet wrote: > The Thursday 28 Aug 2014 à 13:53:11 (+0800), 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

Re: [Qemu-devel] [PATCH v3] block: Introduce "null" driver

2014-08-28 Thread Benoît Canet
The Thursday 28 Aug 2014 à 13:53:11 (+0800), 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. > > Use null:// for AIO

[Qemu-devel] [PATCH v3] block: Introduce "null" driver

2014-08-27 Thread Fam Zheng
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