]> git.proxmox.com Git - qemu.git/commit
block: Fail if requested driver is not available
authorKevin Wolf <kwolf@redhat.com>
Thu, 8 Aug 2013 15:44:52 +0000 (17:44 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 15 Nov 2013 12:37:48 +0000 (13:37 +0100)
commit06d22aa36706a3d6051b74c8a183ab554a0cb808
tree273af77fd862596678604b75ead4dc86819fcdfd
parentf05b328c9d85e57ab871ca73a36220493327a649
block: Fail if requested driver is not available

If an explicit driver option is present, but doesn't specify a valid
driver, then bdrv_open() should fail instead of probing the format.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
block.c
tests/qemu-iotests/051
tests/qemu-iotests/051.out