[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3] block: Introduce "null" driver
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v3] block: Introduce "null" driver |
Date: |
Thu, 28 Aug 2014 21:42:25 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
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 'gluster' element that can then
> select transport of tcp vs. udp as an option).
I'm not sure it's possible in the case of null, since the two
BlockDriver structs have different function pointers. Instead, gluster
has the same function pointers and just multiple names to trigger the
parsing of all the URI schemes.
Paolo
Re: [Qemu-devel] [PATCH v3] block: Introduce "null" driver, Eric Blake, 2014/08/28