On Mon 12 Mar 2018 11:07:51 PM CET, Fabiano Rosas wrote: > The throttle 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. throttle:<filename:options:...>) will now fail gracefully: > > $ qemu-img info throttle:foo > qemu-img: Could not open 'throttle:foo': Unknown protocol 'throttle' > > Signed-off-by: Fabiano Rosas <faro...@linux.vnet.ibm.com> > Reviewed-by: Max Reitz <mre...@redhat.com>
Reviewed-by: Alberto Garcia <be...@igalia.com> Berto