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