]> Git Repo - qemu.git/commit - block/blkreplay.c
block/blkreplay: Remove protocol-related fields
authorFabiano Rosas <[email protected]>
Mon, 12 Mar 2018 22:07:52 +0000 (19:07 -0300)
committerKevin Wolf <[email protected]>
Mon, 26 Mar 2018 10:16:00 +0000 (12:16 +0200)
commit8140e786f045a074928070640e20914873aeb396
tree741824e2372d6256de93fcf1c754a1389cc8f3f4
parenta7328ba55f4535613a54b4ad65a3eb8b1a47cbb7
block/blkreplay: Remove protocol-related fields

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:<filename:options:...>) will now fail gracefully:

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

Signed-off-by: Fabiano Rosas <[email protected]>
Reviewed-by: Pavel Dovgalyuk <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/blkreplay.c
This page took 0.024728 seconds and 4 git commands to generate.