blockdev: Use blk_new_open() in blockdev_init()
commite4342ce5a2bc7742c7193d1a3291ae513ca4857a
authorMax Reitz <mreitz@redhat.com>
Thu, 5 Feb 2015 18:58:14 +0000 (5 13:58 -0500)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 16 Feb 2015 15:07:18 +0000 (16 15:07 +0000)
treea2c894d9b26d64eb2c2f592833863e39a018f34b
parent80495fdf44ff7e44bafe9f4d8367700a197f1106
blockdev: Use blk_new_open() in blockdev_init()

Due to different error propagation, this breaks tests 051 and 087; fix
their output.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1423162705-32065-6-git-send-email-mreitz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
blockdev.c
tests/qemu-iotests/051.out
tests/qemu-iotests/087.out