Files
xemu/block
Fabiano Rosas cb83d2efe1 block/replication: Remove protocol_name field
The protocol_name field is used when selecting a driver via protocol
syntax (i.e. <protocol_name>:<filename:options:...>). Drivers that are
only selected explicitly (e.g. driver=replication,mode=primary,...)
should not have a protocol_name.

This patch removes the protocol_name field from the brdv_replication
structure so that attempts to invoke this driver using protocol syntax
will fail gracefully:

  $ qemu-img info replication:foo
  qemu-img: Could not open 'replication:': Unknown protocol 'replication'

Buglink: https://bugs.launchpad.net/qemu/+bug/1726733
Signed-off-by: Fabiano Rosas <farosas@linux.vnet.ibm.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2018-03-26 12:16:00 +02:00
..
2018-03-09 15:17:47 +01:00
2018-03-13 17:05:00 -04:00
2016-10-07 14:14:06 +02:00
2018-03-19 12:01:39 +01:00
2018-03-09 15:17:47 +01:00
2018-03-02 18:39:07 +01:00
2018-02-09 05:05:11 +01:00
2017-07-17 11:34:11 +08:00
2018-03-09 15:17:48 +01:00
2018-03-19 12:01:24 +01:00
2016-09-23 11:42:52 +08:00
2017-08-31 12:29:07 +02:00
2018-03-19 12:01:39 +01:00