quorum: Use bdrv_open_image()
commitea6828d81b34d42f407e8de28694d2751ee660a2
authorKevin Wolf <kwolf@redhat.com>
Wed, 21 Jan 2015 17:49:28 +0000 (21 18:49 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 12 Jun 2015 14:58:07 +0000 (12 16:58 +0200)
treeb49c68fb60334348bed1cc38b4cef760626f9b0a
parentef1919df26b9b094aa41733466b134111fcdbd36
quorum: Use bdrv_open_image()

Besides standardising on a single interface for opening child nodes,
this simplifies the .bdrv_open() implementation of the quorum block
driver by using block layer functionality for handling BlockdevRefs.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
block/quorum.c