Re: [Qemu-devel] [PATCH 4/5] block/blkreplay: Remove protocol-related fields

2018-03-12 Thread Max Reitz
On 2018-03-09 19:22, Fabiano Rosas wrote: > The blkreplay driver is not a protocol so it should implement bdrv_open > instead of bdrv_file_open and not provide a protocol_name. > > Attempts to invoke this driver using protocol syntax > (i.e. blkreplay:) will now fail gracefully: > > $ qemu-img

Re: [Qemu-devel] [PATCH 4/5] block/blkreplay: Remove protocol-related fields

2018-03-12 Thread Pavel Dovgalyuk
> From: Fabiano Rosas [mailto:faro...@linux.vnet.ibm.com] > The blkreplay driver is not a protocol so it should implement bdrv_open > instead of bdrv_file_open and not provide a protocol_name. > > Attempts to invoke this driver using protocol syntax > (i.e. blkreplay:) will now fail gracefully: >

[Qemu-devel] [PATCH 4/5] block/blkreplay: Remove protocol-related fields

2018-03-09 Thread Fabiano Rosas
The blkreplay driver is not a protocol so it should implement bdrv_open instead of bdrv_file_open and not provide a protocol_name. Attempts to invoke this driver using protocol syntax (i.e. blkreplay:) will now fail gracefully: $ qemu-img info blkreplay:foo qemu-img: Could not open 'blkreplay